RE: [greenstone-devel] Back function?

From Emanuel Dejanu
DateTue, 1 Feb 2005 13:10:33 +0200
Subject RE: [greenstone-devel] Back function?
In-Reply-To (41FE9851-8040402-cs-waikato-ac-nz)

The back to classifer/search when you click on the open book title is
generated by vlistbrowserclass with the help
of vlistbrowserclass::get_link_icon method.

Best regards,


-----Original Message-----
[] On Behalf Of
Katherine Don
Sent: Monday, January 31, 2005 10:43 PM
To: Richard Gartner
Subject: Re: [greenstone-devel] Back function?

Hi Richard

If you are using the standard document display (format DocumentContents true
- true is the default so it will be true if you dont specify this format
option) eg it has an open book icon and the title at the top of the table of
contentst, then clicking the book icon will take you back to where you were
in search/browsing.

This appears to only work for hierarchical documents, which I guess makes
sense, cos if there is only one page for the document, then you can just use
the browsers back button.

I can't work out how/where this link is generated, so I am not sure how to
get it if you aren't using DocumentContents.

Hope this helps
Katherine Don

Richard Gartner wrote:
> Hello all,
> Is there a function or anything similar which records which page a
> page is called from, so that it could form a "back" function? The idea
> is that after browing through an item, I could give the user a single
> button to press which will take him to the page (title list, subject
> list etc) that he called the item from, rather than having to go
> through the navigation bar to get back there.
> Is there anything?
> Richard
> _______________________________________________
> greenstone-devel mailing list

greenstone-devel mailing list