Macro Language- small question

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

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
following

package home

oops

The requested page could not be found. Please use your browsers 'back' button or the above home button to return to the Greenstone Digital Library. {

Search in for of the words  

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

<ul>

<table>

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

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

<td><a href="/gsdlmod?a=p&p=home&l=en&w=utf-8&c=demo">Click here</a></td></tr>

</table>

</ul>

}

OH I have also changed the base.dm as shown below:

/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Rudy+Gunawan--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p= {/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Rudy+Gunawan--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=_1_}

/gsdlmod?a=p&p=home&l=en&w=utf-8 {/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Rudy+Gunawan--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=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

Dynal