Re: [Koha] koha item types dropdown instead of library dropdown

2014-05-25 Thread schnydszch
Hi all! I just can't seem to add item types in the drop down for Library Catalog, Title, Call Number, etc. but I was able to add them in the library masthead, which was actually the title of my query. After some readings on jquery, and deciding to put it instead in the library masthead, I was able

Re: [Koha] koha item types dropdown instead of library dropdown

2014-05-24 Thread schnydszch
Hi! Still novice with jquery, but I'm trying it out, I'm at my wit's end reading on jquery. I have came up with this: $(select#masthead_search).append(option value=\mc-itype\Item type-books/option); $(input[name='q']).val('BK'); What this one do, is the text 'BK' is in the search box, But still

Re: [Koha] koha item types dropdown instead of library dropdown

2014-05-22 Thread Fridolin SOMERS
You have to add those lines using Javascript (JQuery) into systempreference opacuserjs. Le 21/05/2014 17:22, schnydszch a écrit : Hi! Where can I edit this lines? THanks! On Wednesday, May 21, 2014 8:11 AM, Fridolin SOMERS [via Koha] ml-node+s1045719n5798837...@n5.nabble.com wrote: Hie,

Re: [Koha] koha item types dropdown instead of library dropdown

2014-05-21 Thread Kallinen Pasi
types dropdown instead of library dropdown I forgot that the library pulldown for libraries can be hidden through global system preference OpacAddMastheadLibraryPulldown. However, the project I'm working with would like to add a dropdown for item types, will that be possible? Thanks in advance

Re: [Koha] koha item types dropdown instead of library dropdown

2014-05-21 Thread Viktor.Sarge
It would be quite possible. The following code that Fridolin Somers posted on march 19 could serve as an inspiration. $(document).ready(function() { $(select#masthead_search).append(option value=\yr\Publication year/option); }) What it does is that you paste it into the system preference

Re: [Koha] koha item types dropdown instead of library dropdown

2014-05-21 Thread Fridolin SOMERS
Hie, You can add, next to input[name='q'], a dropdown list with the values/descriptions of your item types : select name=limit option value=All/option option value=mc-itemtype,phr:BOOKBook/option option value=mc-itemtype,phr:DVDDVD/option ... /select Best regards, Le 17/05/2014

Re: [Koha] koha item types dropdown instead of library dropdown

2014-05-21 Thread eugene jose espinoza
Thanks Viktor! I'll try this. Cheers! On Wednesday, May 21, 2014 3:52 AM, viktor.sa...@regionhalland.se viktor.sa...@regionhalland.se wrote: It would be quite possible. The following code that Fridolin Somers posted on march 19 could serve as an inspiration. 

Re: [Koha] koha item types dropdown instead of library dropdown

2014-05-21 Thread schnydszch
Hi! Where can I edit this lines? THanks! On Wednesday, May 21, 2014 8:11 AM, Fridolin SOMERS [via Koha] ml-node+s1045719n5798837...@n5.nabble.com wrote: Hie, You can add, next to input[name='q'], a dropdown list with the values/descriptions of your item types : select name=limit    

Re: [Koha] koha item types dropdown instead of library dropdown

2014-05-20 Thread schnydszch
I forgot that the library pulldown for libraries can be hidden through global system preference OpacAddMastheadLibraryPulldown. However, the project I'm working with would like to add a dropdown for item types, will that be possible? Thanks in advance and cheers! -- View this message in