Re: [greenstone-users] Changing Navigation bar

From Richard Managh
DateWed, 21 Mar 2007 11:13:18 +1200
Subject Re: [greenstone-users] Changing Navigation bar
In-Reply-To (feaeb5a0703190858v26f9d61cob13da75f0e726bb8-mail-gmail-com)
Hi Richard,

Well, the easiest way to accomplish this is to not use the greenstone navigation bar at all, and just make your own.

in nav_css.dm theres some code:

# The following is useful if collection specific macro.  Override
# to be empty if you don't want the navigation bar to
# appear in the standard place, and then specify SearchSubjectsFromDates elsewhere
# in a collection specific macro file(s) to be where you do want it.
{
<div class="navbar">
<p class="navbar">
SearchSubjectsFromDates
</p>
</div>
}


So it appears that you need to add something like

{}

to your extra.dm in the Global package to remove it.

To add your own one, you might put your desired macros and html in that macro.

{
<!-- My navigation bar macros / html  -->

}




Richard
--
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.com
www.dlconsulting.com


Richard Asiimwe wrote:
Hi,
I'd like to change the navigation bar so that i add a "static link" (not generated by a classifier: sort of like the way the 'Search' button is) and set this link to have a drop down menu (produced by some javascript).
From this example (http://lgrc.lga.gov.ph/wiki/index.php/Digital_Collection_Developer_Manual#greenstone.2Fmacros.2Fstyle.dm ) it looks like i need to change the GSDL Error macro or better still the SearchSubjectsFromDates macro.
My dilema is this:
Currently the SearchSubjectsFromDates is defined as SearchSubjectsFromDates {} in base.dm
So i'm wondering, is the navigation bar defined else where since there isn't much in base.dm? How do i go about adding the "static" button link?
Thanks, hope someone can help.
Richard.

--
Richard Asiimwe.
Future Link Technologies
Mob: +256 78 2 486 198
        +256 75 2 486 198
Office: +256 41 531 274
url: http://www.fl-t.com
Life is not a rehearsal...

_______________________________________________ greenstone-users mailing list greenstone-users@list.scms.waikato.ac.nz https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users

--