IRC log for #koha, 2013-10-27

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
01:37 cait joined #koha
01:49 cait1 joined #koha
03:11 busla joined #koha
04:07 dpk1 joined #koha
07:26 * magnuse waves
07:27 * cait1 waves back
07:29 magnuse hey cait1! how's the jetlag? :-)
07:29 cait1 terrible
07:29 magnuse :-(
07:29 cait1 did manage to stay awake until 10pm, but woke up at 3 am and have been awake since
07:30 magnuse ouch
07:30 cait1 yeah :(
07:30 guess i have to stay awake now although i am starting to get sleepy again
07:31 magnuse yeah might be a good idea to stay awake
09:39 busla joined #koha
12:12 Callender joined #koha
13:32 cait joined #koha
13:51 tcohen joined #koha
14:42 busla joined #koha
14:42 cait @later tell jcamins - can you take a look at 9368 and comment about the follow-up?
14:42 huginn cait: The operation succeeded.
15:51 dpk1 joined #koha
16:48 captflint joined #koha
18:22 rangi morning
18:27 cait morning
18:27 wahanui somebody said morning was a state of cat
18:28 magnuse morning
18:29 cait hey magnuse
18:29 magnuse hey cait and rangi
18:46 rangi heya
18:46 seen this
18:46 wahanui I haven't seen 'this', rangi
18:46 rangi http://bywatersolutions.com/20[…]ending-kohacon13/
18:46 a pretty good write up
19:17 druthb o/
19:18 cait hey druthb
19:18 rangi hi druthb
19:32 rambutan I wish kete could develop a stronger community; it's good now but needs more support I think.
19:32 druthb hi, cait and rangi! :)
19:32 rambutan that being a reference to the bywater link rangi cited
19:33 rangi rambutan: yep
19:33 upgrading bugzilla now
19:37 done
19:37 just a minor upgrade
19:38 cait rangi++
19:41 rangi http://www.bugzilla.org/security/4.0.10/
19:41 you might want to check git-bz is still ok
19:41 security upgrades usually effect it
19:44 cait hm i will check in a moment
19:44 working on something anyway :)
19:58 peggy joined #koha
20:08 rangi hi peggy
20:08 peggy Hi Rangi. How was your trip home?
20:10 cait hi peggy :)
20:10 rangi long, and confusing, but both myself and my luggage made it, so all in all ok :)
20:10 peggy That's an accomplishment!
20:23 Rangi, where do the .tt files get their data from?  I'm looking at circulation.tt and it says: [% IF ( CircAutoPrintQuickSlip ) %]
20:23 How can I find the value of CircAutoPrintQuickSlip?
20:25 cait peggy: the variables are defined in the corresponding .pl file
20:25 this looks like a syspref one
20:25 peggy it is
20:25 cait so start looking at circulation.pl
20:26 peggy So these are what they are setting in that template section?
20:26 Hi Cait!
20:26 cait hm not sure i understand your question
20:28 oh
20:29 peggy joined #koha
20:29 cait back? :)
20:29 peggy At the bottom of circulation.pl there is a section that starts  $template->param(
20:29 cait yes
20:29 peggy I don't quite know what just happened.
20:29 rangi peggy: it will either be in there
20:29 or it will be in C4/Auth.pm
20:29 peggy It is in there.
20:30 rangi right, so its a system preference, so fetched from the db
20:30 peggy or not.
20:30 rangi if you go to Admin, then system preferences and search for that, you can see what it's value is
20:30 cait ah good point
20:31 peggy It used to be either yes or no.  I've changed it to have three possible values:  0, quick, slip
20:31 cait right now it's boolean it looks like, but you can check for a certain value in the templates too [%IF (something == "somethingelse") %] or so
20:32 rangi thats right
20:32 peggy OK.  Let me try that.
20:32 rangi [% IF CircAutoPrintQuickSlip == 'quick' %]
20:32 do stuff
20:32 [% ELSIF
20:33 etc
20:34 peggy can I use [% CircAutoPrintQuickSlip %] like a variable?
20:34 cait [% END %] :)
20:34 peggy: yes you can
20:34 it will output the value to the template then
20:34 peggy return printx_window(CircAutoPrintQuickSlip); }
20:35 Cool.  Let's see if I can make this work.
20:35 Thanks for the help!
20:35 rangi yep that would work with the [% %] bits :)
20:35 tricky
20:36 peggy right.  I just saw that...
20:36 Tricky good or tricky bad?
20:37 cait rangi: hm git bz attach seems not working
20:38 i get an html page printed and Failed to update bug 11091, status=200
20:38 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=11091 normal, P5 - low, ---, fridolyn.somers, Signed Off , limits in catalog search when creating subscription
20:39 rangi yeah i bet its the crsf tokens again
20:39 ill try to fix it tonight
20:39 unless its already fixed upstream
20:40 cait hm?
20:47 peggy_ joined #koha
21:17 peggy joined #koha
21:17 peggy what causes circulation.sql to run?  Do I need to restart Koha?
21:19 cait peggy: normally your changes should take effect immediately
21:19 if you change the template files or pl files - you just need to refresh your browser window
21:20 peggy I changed the sql file
21:20 cait ah
21:20 peggy So I could change it from yes/no to choice
21:20 cait which did you change? the sysprefs.sql?
21:20 peggy Yes
21:20 cait for your syspref you need to change three files
21:20 the sysprefs.sql (which is only run when you install koha from scratch)
21:20 so that#s for new installations
21:21 then you need an entry in updatedatabase.pl eventually - not sure if you need it for your new value
21:21 and then the last is the .pref file
21:21 they are in koha-tmpl/intranet/prog/modules/admin/preferences (or similar)
21:21 the last you should see immediately
21:21 the change to the pref file
21:22 it's how the system preference editor is built
21:22 peggy But if the variable is in the database as yes/no and I put other values in it, that would be a problem.
21:22 cait it might be yes
21:22 peggy So I need to reinstall Koha?
21:23 cait take a look at installer/data/mysql/updatedatabase
21:23 no :)
21:23 you will need to change your database - that's what the update scripts are for
21:23 peggy I did.  But I'm not adding or taking anything away.  I'm just changing it a little.
21:23 cait for testing you can change it manually I think - I like to use mysql workbench, some just do it command line in mysql
21:24 peggy Well, I'll look at it again - I saw that there were entries for adding and removing.
21:24 cait hm yes, but look for alter
21:24 peggy I guess it would make sense to need it in updatedatabase
21:24 Ah.
21:24 cait you can also change existing lines in the database
21:24 i think there have been examples of that hm.
21:24 let me think
21:25 peggy Updatedatabase runs when you upgrade to a new version?
21:26 cait actually i think you need an update
21:26 yes
21:27 peggy Can I test without if I run the .sql by hand?
21:27 cait maybe similar to http://git.koha-community.org/[…]b4e3c229eb0#l2468 - Line 2468
21:27 yes you can test it by running it manually
21:27 there are also tricks on how to test the updatedatabase, but we can show you that a bit later
21:28 peggy OK.  Let me try this out.  This particular bug is getting me into so many different areas...  A good thing
21:28 cait yeah, those with a database change are always a bit tricky
21:28 but once you know where to look, it gets easier
21:29 peggy Thanks for helping me!
21:29 cait yw :)
21:31 peggy I'm off to the grocery store.  But I'll be back!
21:31 cait i will be sleeping :)
21:31 but monday more people will be around
21:31 peggy Enjoy!!!  Thanks
21:48 cait left #koha
22:07 dpk1 cait: Tweaked the poling to be sensitive to -b or -a.  I will upload an additional patch shortly that addresses that and adds the lockdir specification to koha_conf.xml and a call to read that to address the earlier comment as well.
23:08 irma joined #koha
23:27 papa joined #koha

← Previous day | Today | Next day → | Search | Index

koha1