织梦 常用列表配置

操作:

添加普通文章(频道页面):

1:核心---》添加顶级栏目

填:栏目名称 (网站导航栏目)

文件保存目录(访问路径)

频道封面(渲染一个文章页面 例如index)

 核心选项:封面模板和列表模板(填写template/目录下含有此魔板     如index.htm),文章模板 通封面模板

****注意:若出现   文章模板不存在首先看看template/目录下是否含有此魔板,若有则跟新所有栏目

频道文章:和添加频道页类似,我就不重复阐述了

注意:列表附加字段一定要填写,否则就会调不到数据

添加表单:

<form action="/plus/diy.php" enctype="multipart/form-data" method="post">
  <input type="hidden" name="action" value="post" />
  <input type="hidden" name="diyid" value="4" />
  <input type="hidden" name="do" value="2" />
  <table style="width:97%;" cellpadding="0" cellspacing="1">
  <tr>
  <td align="right" valign="top">用户名:</td>
  <td><input type='text' name='name' id='name' style='width:250px' class='intxt' value='' />
  </td>
  </tr>
  <tr>
  <td align="right" valign="top">密码:</td>
  <td><input type='text' name='password' id='password' style='width:250px' class='intxt' value='' />
  </td>
  </tr>
  <input type="hidden" name="dede_fields" value="name,text;password,text" />
  <input type="hidden" name="dede_fieldshash" value="6dbcab0c30fa1ea1b00a7ef5eeed1d60" /></table>
  <div align='center' style='height:30px;padding-top:10px;'>
  <input type="submit" name="submit" value="提 交" class='coolbg' />
  &nbsp;
  <input type="reset" name="reset" value="重 置" class='coolbg' />

自定义表单---》[增加新的自定义表单]----》自定义表单名称---》数据表---》查看源代码添加

文章更新:

跟新主页

跟新手机站

取消图片水印

栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用

添加站点

主页调用列表页

猜你喜欢

转载自blog.csdn.net/qq_40372395/article/details/81986559
今日推荐