问题:
搜索结果页面如没有数据进行跳转其他页面如何实现呢? 没结果的时候进行跳转到固定页面
{if $searchid}
{list action=search module=$dirname id=$searchid total=$sototal page=1 pagesize=1 urlrule=$urlrule}
{dr_keyword_highlight($t.title, $keyword)}
所在位置:{dr_cat_value("1-news",dr_cat_value("1-news",$t.catid,"pid"),"name")}>{dr_cat_value("1-news",$t.catid,"name")}
{$t.xiangqing}
{/list}
{if !$total}
对不起! 没有找到任何记录
{/if}
{else}
对不起! 没有找到任何记录
{/if}
答案:
对不起! 没有找到任何记录
改成
回复迅睿框架创始人谢谢