Hi there. There is a way to block the opac nav html code only to the main page of Koha Opac? I think that maybe there is a perl variable to block the opac nav to appear in others pages than the main.... Regards. Vitor Fernandes
There is a way to block the opac nav html code only to the main page of Koha Opac?
I don't understand. Do you want OpacNav to only show on the main page, or to show on all pages but the main page? -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
I want it to show only in the main page. Regards. Vitor Fernandes 2010/12/22 Owen Leonard <oleonard@myacpl.org>:
There is a way to block the opac nav html code only to the main page of Koha Opac?
I don't understand. Do you want OpacNav to only show on the main page, or to show on all pages but the main page?
-- Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org
I want it to show only in the main page.
Here's one way to do it: Create your OpacNav content with a wrapper that has a unique id attribute ("mainpagenav" in this example): <div id="mainpagenav"> <p>OpacNav content here</p> </div> In your custom stylesheet (or in OpacUserCSS) put: #mainpagenav { display: none; } #opac-main #mainpagenav { display: block; } That should hide the OpacNav content by default but show it on the main page. Let me know if that works, Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Hi to all. Sorry for my response delay time. Your solution worked fine to me :) <div id="mainpagenav"> <p>OpacNav content here</p> </div> opac.css #mainpagenav { display: none; } #controll {} #controll #mainpagenav { display: block; } opac-main.tmpl <div id="controll"> <!--TMPL_INCLUDE NAME="navigation.inc" --> </div> Thanks for you help. Regards. Vitor Fernandes. 2010/12/22 Owen Leonard <oleonard@myacpl.org>:
I want it to show only in the main page.
Here's one way to do it:
Create your OpacNav content with a wrapper that has a unique id attribute ("mainpagenav" in this example):
<div id="mainpagenav"> <p>OpacNav content here</p> </div>
In your custom stylesheet (or in OpacUserCSS) put:
#mainpagenav { display: none; } #opac-main #mainpagenav { display: block; }
That should hide the OpacNav content by default but show it on the main page.
Let me know if that works,
Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org
participants (2)
-
Owen Leonard -
Vitor Fernandes