** if the url string contains date range variables, i can just set them to drastic extremes to make sure i get everything **
Doesn't do much for upcoming events. I would think linking to the ssi.html template would be a better idea, you can modify its design to display any way you like. Plus the search results do not always show recurring events which the SSI template does.
** do you know what the url string format is? **
calendar.pl?view=Search&end_month=2&start_date=8&calendar=default&start_year=2003&start_month=1&end_date=8&template=default.html&command=search&end_year=2003&FIELD_descrip tion=Search_Term
It will vary depending on what field you are searching on though.
** and also for sorting chronologically... **
All search results I've seen are by date. Maybe the template I'm using has been modified but don't remember?
If you find the code in the default.html template file following:
<% IF SEARCH RESULTS EXIST %>
Add
<% @$SEARCH_RESULTS = sort {$a->{schedule}->{start} <=> $b->{schedule}->{start} } @$SEARCH_RESULTS; %>
right before:
<TABLE BORDER="1" CELLPADDING="1" CELLSPACING="0">
That might do it.
Dan O.
[This message has been edited by DanO (edited January 08, 2003).]