Macro Language- small question

From Dynal Patel
DateSat, 29 Jun 2002 16:38:24 +0200
Subject Macro Language- small question
In-Reply-To (3D1A58E2-1753D948-cs-waikato-ac-nz)

Thanks for your help. I just have a small problem that I cant seem to get
working. I want to add a searching facility to my home page. I have done the

package home
_content_ {


<h2>Your own Greenstone home page</h2>



<tr valign=top><td>Search page for the demo collection<br></td>

<tr><td>Home page</td>

<td><a href="_httppagehome_&c=demo">Click here</a></td></tr>




OH I have also changed the as shown below:

_httppagex_ {_gwcgi_?e=_compressedoptions_&a=p&p=_1_}

_httppagehome_ {_httppagex_(home)}

However the only way I can get the searching facility to work is if I click
on the link that brings me back to the same page, and loads the cgi
arguements. Of course the problem with this is the search never works unless
you click on the link. Is there a way around this? Or is not possible to
have a search facility on the home page. Is it possible to emulate the
clicking of the link when the page is loaded.

Thanks I would really appreciate any help

Kind regards