Re: [greenstone-users] How to display the chalk.gif at every page?

From Katherine Don
DateMon, 08 May 2006 17:00:45 +1200
Subject Re: [greenstone-users] How to display the chalk.gif at every page?
In-Reply-To (20060505024038-63902-qmail-web36808-mail-mud-yahoo-com)
Hi Henny

Anastasia Henny Mariane S wrote:
> Hi Richard & Group,
>
> Thanks for the reply. I checked in the style.dm (I cannot find
> global.dm) and found this statement there:
>
> _header_ {_cgihead_
> _htmlhead_(background="_httpiconchalk_")_startspacer__pagebanner_
> }
>
> So, rightfully the chalk.gif should be appeared at every page right?
> But, it didn't (see attachment problem A). The chalk.gif only appears on
> the "home" and the collection main page.
>
>From your pictures, it is also displaying on classifier pages, just not
on document pages? This was done on purpose (can't remember why).

For document display, _header_ is set to _textheader_. You need to edit
the _textheader_ macro in document.dm and add back in the background image:
Add (background="_httpiconchalk_") directly after the _htmlhead_ macro.

> Besides that, I also have another 2 questions:
> - How do I change the position of the top navigation icons "home" "help"
> "pref" (see attachment problem B), example I want to position it below
> of the header?
>
_javalinks_ is the macro which defines the home help pref buttons. It is
added to the page in _pagebanner_ in style.dm
I'm not sure where you want to put it - you can move it rouns inside the
_pagebanner_ macro, you remove it from there and add it into the
_content_ macro, e.g. underneath the navigation bar (_optnavigationbar_)
If you do this, you'll need to do it for each maccro file.

> - How to set the green color image on the top right corner (see
> attachment problem C) to not display upon clicking the "subjects" or
> "titles a-z" from the hierarchical classifier?
Didn't you solve this already in January? You need to remove
_imagethispage_ from _pagebanner_.

I assume you are still using the same version of greenstone that you
used before.

Regards,
Katherine
>
> Kindly advise. Thanks so much.
>
> Sincerely,
> Henny
>
> */Richard Managh <richard@dlconsulting.co.nz>/* wrote:
>
> Hi Henny,
>
> By default, (I'm using Greenstone 2.62) that image is displayed on
> every page, so I assume you have changed your collection in such a
> way that it is no longer displayed on every page.
>
> You need to check your macro files to ensure that _httpiconchalk_ is
> declared in all of the relevant packages (might be: Style, Global,
> etc) for the display of your pages.
>
> Perhaps you have overridden _header_ in some pages so that it no
> longer produces a html body tag containing background="chalk.gif"
>
> Look through the header macros of your macro files to ensure that
> _httpiconchalk_ is in their macro structure, for example:
>
> _header_ {_cgihead_
> _htmlhead_(background="_httpiconchalk_")_startspacer__navigationbar__pagebanner_
> }
>
>
> Hope this helps.
>
>
> Richard
> ---
> DL Consulting
> Greenstone Digital Library and Digitisation Specialists
> contact@dlconsulting.co.nz
> <http://us.f368.mail.yahoo.com/ym/contact@dlconsulting.co.nz>
> www.dlconsulting.co.nz <http://www.dlconsulting.co.nz>
>
> ------------------------------------------------------------------------
> Yahoo! Mail goes everywhere you do. Get it on your phone
> <http://us.rd.yahoo.com/evt=31132/*http://mobile.yahoo.com/services?promote=mail>.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users