• 课程概述
  • 目录
搜索功能标签使用:
{eyou:searchform type='default'}
    <form method="get" action="{$field.action}">
        <input type="text" name="keywords" />
        <input type="submit" value='点击搜索' />
        {$field.hidden}
    </form>
{/eyou:searchform}
更多使用方法参考:https://www.eyoucms.com/doc/label/all/521.html
 
搜索功能列表制作:
同文章列表制作一样,注意头部区域调用
 
<title>搜索页_{$eyou.field.keywords}_{eyou:global name="web_name" /}</title>
搜索页标题:搜索页_搜索词_网站名称
<meta name="description" content="" />
描述官方默认为空,可以自定义填写
<meta name="keywords" content="" />
关键词官方默认为空,可以自定义填写
 

(1)搜索功能时长:00:07:19