Hi Bernardo, I have multiple opacs, so I would like to have each with its own "OpacMainUserBlock" Thanks Anselm On Thu, Jun 24, 2010 at 9:18 PM, Bernardo Gonzalez Kriegel < bgkriegel@gmail.com> wrote:
Anselm,
what do you mean by "duplicate"? You need to copy it to another site?
Regards bgk
2010/6/24 Anselm Olweny <aolweny@gmail.com>
Dear Colleagues,
I would like to duplicate the Opac system preference called "OpacMainUserBlock"
Is there any one who could guide me on how I may achieve this?
Thanks
Anselm
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
I have multiple opacs, so I would like to have each with its own "OpacMainUserBlock"
How do you have multiple opacs? Are you using the multi-OPAC setup? If so, that method doesn't support multiple OpacMainUserBlocks because it doesn't support separate databases for each OPAC. It does give you alternate stylesheets for each OPAC, so a workaround is to create a single OpacMainUserBlock with multiple sections: <div id="section1">Content for OPAC 1</div> <div id="section2">Content for OPAC 2</div> <div id="section3">Content for OPAC 3</div> And then style each one differently in each OPAC's custom stylesheet: In stylesheet 1: #section1 { display: block; } #section2 { display: none; } #section3 {display: none; } In stylesheet 2: #section1 { display: none; } #section2 { display: block; } #section3 {display: none; } In stylesheet 3: #section1 { display: none; } #section2 { display: none; } #section3 {display: block; } The theoretical downside to this method is that it assumes your users are using a browser which obeys CSS rules. I don't know whether that is a realistic worry in your particular case. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
participants (2)
-
Anselm Olweny -
Owen Leonard