Hi,
You could do this by creating an SSI:
<!--#include virtual="/cgi-bin/gforum.cgi?do=search_results&search_time=24h&t=homepage"-->
The tricky part is the last bit t=homepage. You should create a new template directory with two files:
search_results.html
.tplinfo
with the .tplinfo looks like:
{
inheritance => '../default'
}
This means when you go to t=homepage, it is going to use the search_results.html in that directory, but for any other template it will fall back to the default set.
Then just customize search_results.html so it fits in with how your SSI should look.
Since it goes through gforum.cgi, it ensures that all forum permissions are obeyed and people see only what they are meant to see (and if they are logged in, they would see private forums as well).
Cheers,
Alex
--
Gossamer Threads Inc.
You could do this by creating an SSI:
<!--#include virtual="/cgi-bin/gforum.cgi?do=search_results&search_time=24h&t=homepage"-->
The tricky part is the last bit t=homepage. You should create a new template directory with two files:
search_results.html
.tplinfo
with the .tplinfo looks like:
{
inheritance => '../default'
}
This means when you go to t=homepage, it is going to use the search_results.html in that directory, but for any other template it will fall back to the default set.
Then just customize search_results.html so it fits in with how your SSI should look.
Since it goes through gforum.cgi, it ensures that all forum permissions are obeyed and people see only what they are meant to see (and if they are logged in, they would see private forums as well).
Cheers,
Alex
--
Gossamer Threads Inc.