找不到帮助文档?你想要哪方面的帮助教程?提交文档建议 >
帮助文档首页
DiYunCMS公众号
公众号二维码

网站表单模板

更新时间:2020-09-20 加入收藏
0

前端界面

默认网站表单模板介绍

发布:/template/pc/default/home/form_post.html
列表:/template/pc/default/home/form_list.html
查看:/template/pc/default/home/form_show.html


自定义网站表单模板介绍

发布:/template/pc/default/home/form/表单表名_post.html
列表:/template/pc/default/home/form/表单表名_list.html
查看:/template/pc/default/home/form/表单表名_show.html



网站表单URL地址介绍

发布:{router::form_post_url("表单英文名")}
列表:{router::form_list_url("表单英文名")}
查看:{router::form_show_url("表单英文名", 表单id)}


网站表单列表页面标签

{$form_name} 表单中文名称
{$form_table} 表单英文名称

// 表单数据列表分页模式调用方法
{form form=$form_table page=1 urlrule=$urlrule pagesize=5}
{router::form_show_url($form_table, $t.id)} 表单内容地址
{dr_strcut($t.title, 60)} 截取60个字符的标题
{$t.inputtime} 格式化后的发布日期
{dr_date($t._inputtime, "Y-m-d")} 自定义发布日期
{/form}

{$pages} 分页字符串


表单内容页标签

{$form_name} 表单中文名称
{$form_table} 表单英文名称

{$title} 标题
{$inputtime} 发布时间

{$自定义字段} 自定义字段输出(每个自定义的字段输出方式不一样,具体参考字段输出说明)


会员界面

默认网站表单模板介绍

发布:/template/pc/default/member/form_post.html
列表:/template/pc/default/member/form_list.html


自定义网站表单模板介绍

发布:/template/pc/default/member/form/表单表名_post.html
列表:/template/pc/default/member/form/表单表名_list.html



后台界面

默认网站表单模板介绍

发布:/dayrui/Core/Views/share_form_post.html
列表:/dayrui/Core/Views/share_form_list.html


自定义网站表单模板介绍

发布:/dayrui/App/Form/Views/表单表名_post.html
列表:/dayrui/App/Form/Views/表单表名_list.html


--
有帮助
--
没帮助
0
收藏
0
打赏
相关文档
Hello,欢迎来咨询~
点击在线咨询