[greenstone-users] CGI arguments

From Vladimir R. Risojevic
DateFri Feb 13 12:02:47 2009
Subject [greenstone-users] CGI arguments
Dear all,

I have two types of collections which use different stylesheets. Therefore I
need some kind of a flag to distinguish between them. I defined a new page

pageparam y book

Then, I defined the corresponding cgi argument

cgiarg shortname=y argdefault=book

and in style.dm

_cssfilelink_[y=book] {_httpimg_/book_style.css}
_cssfilelink_[y=mag] {_httpimg_/mag_style.css}

However, the value of my cgi argument was not maintained between pages so I
tried adding savedarginfo=must to cgiarg. Now, after the first page of the
collection I loose collection name, ie. it is missing in links and the
collection is unusable.
Is this the right way to do it? What am I missing? If I'm wrong, does anybody
have any idea how to accomplish this custiomization?