How to use {if} to echo static “no entries”-page if weblog has no entries?
Thanks!
- Tuittu
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
July 04, 2007 5:31am
Subscribe [1]#1 / Jul 04, 2007 5:31am
How to use {if} to echo static “no entries”-page if weblog has no entries?
Thanks!
- Tuittu
#2 / Jul 04, 2007 6:03am
Take a look here.
#3 / Jul 04, 2007 6:23am
Thanks!
Further question: No results on search, i tried to put
{if no_results}
{redirect="my weblog/no results-page"}
{/if}inside the simple search form but it didnt work and it shouws the basic “no results”-page. To where i must put this {if} in search?
Yours:
- Tuittu
PS. i have proper filenames in that redirect if you are looking the code above and wondering those…
EDIT: never mind i found the answer!
no_result_page="search/noresults"