[greenstone-users] Re: greenstone-users Digest, Vol 48, Issue 26

From Richard Asiimwe
DateWed, 21 Mar 2007 11:42:31 +0300
Subject [greenstone-users] Re: greenstone-users Digest, Vol 48, Issue 26
In-Reply-To (460070ea-2fd2ad6f-339e-144fSMTPIN-ADDED-mx-google-com)
Hi Richard,
Thanks for the pointers.
I have defined in the extra.dm.
How do i add the browsing classifiers and the Search button to my new navigation bar?
 
Thanks.
 
 

------------------------------

Message: 6
Date: Wed, 21 Mar 2007 11:13:18 +1200
From: Richard Managh < richard@dlconsulting.co.nz>
Subject: Re: [greenstone-users] Changing Navigation bar
To: greenstone-users@list.scms.waikato.ac.nz
Message-ID: <46006A8E.1090304@dlconsulting.co.nz>
Content-Type: text/plain; charset="iso-8859-1"

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
> <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 <http://base.dm>
> So i'm wondering, is the navigation bar defined else where since there
> isn't much in base.dm <http://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
>

--


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20070321/b1ce4a5b/attachment.html

------------------------------

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


End of greenstone-users Digest, Vol 48, Issue 26
************************************************



--
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...