[greenstone-users] About the corner right tabs

From Oran Fry
DateWed Jan 9 10:38:19 2008
Subject [greenstone-users] About the corner right tabs
In-Reply-To (4783BF6B-90102-jjay-cuny-edu)
Hi Javeria,

First, set up all the links you want to use in macros/nav_css.dm (1).
Then, change the HOME HELP PREFERENCES macro in a few macro files, to add the
links to your greenstone pages (2).

1)
In macros/nav_css.dm, find the existing links. They should be near the
top of the file, they look like this:

HOME {HOME}
HELP {HELP}
PREFERENCES
{PREFERENCES}

To change the homepage link, replace /gsdlmod?a=p&p=home&l=en&w=utf-8 in the HOME
macro with the link to the alternative homepage. E.g.,
HOME
{http://www.example.com/" title="Home page">HOME}

To set up a custom link, add it as a new macro using the existing links
as a guide. E.g.,
_youtubelink_ {http://www.youtube.com/" title="Go to the
YouTube website">YouTUBE}

2)
Edit the HOME HELP PREFERENCES macro in macros/nav_css.dm, macros/home.dm,
macros/pref.dm, macros/help.dm, and any others as needed. Just above the
link macros in macros/nav_css.dm is the HOME HELP PREFERENCES macro, which looks
like this:
HOME HELP PREFERENCES {HOME HELP PREFERENCES}

Add your custom links by inserting them here. E.g.,
HOME HELP PREFERENCES {HOME HELP PREFERENCES
_youtubelink_}

You will have to make a similar change in the files mentioned above, or
you will find that your custom links only appear on some pages, not all.

Hope this is clear enough!

Kind Regards,
Oran Fry.


Javeria Sharif wrote:
> Hi everyone,
>
> I have a question. On the top right side there are tabs for home, help
> and preferences. How do i change it to something else I want to change
> the home tab to direct to a different home page. Also instead of help
> and preference I want different tabs there. Can you help me. Thanks.
> Javeria
>