16 Sep
2009
16 Sep
'09
7:46 a.m.
2009/9/16 Michael <mhogwood@gmail.com>:
Hi,
I'm trying to make an adjustment on an OPAC. Is there a way to hide the 'search' form/buttons from users who have not logged in yet? Also, can it be done without editing the templates? Using jscript is fine or via any other method that can be done through System Preferences.
Hi Michael What I would do is use http://plugins.jquery.com/project/cookie Then you can do something like var cookie = $.cookie("CGISESSID"); if (!cookie){ hide the search } Hope this helps Chris
Thanks! http://plugins.jquery.com/project/cookie
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel