织梦文章怎么调用栏目设定的标题

2024-10-28 10:18:09
推荐回答(4个)
回答(1):

一、打开dedecms梦想管理后台,使用管理员账户密码登录。

二、单击核心-网站列管理-选择列并单击更改。

三、在“常规选项”“高级选项”列内容中,选择“高级选项”,填写列的SEO标题,复制代码[{Dede:字段。Seotitle/}),记住列模板[list u article]的名称。,然后单击下面的“确定”进行保存。

四、单击“模板默认模板管理”以查找模板文件名list article.htm,然后单击模板后的“修改”以打开“修改模板代码”页。

五、打开【list_article.htm】代码页面,找到标题,将{dede:field.title /}修改为</p> <p>{dede:field.seotitle /},点击保存。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F5366d0160924ab18e80e85483afae6cd7b890bb0%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/5366d0160924ab18e80e85483afae6cd7b890bb0"></p> <p>六、默认情况下,dedecms梦想编织程序生成静态HTML页面,因此在预览列HTML文档之前,您需要执行最后一步来更新它。单击generate-update column HTML-update all-generatehtml打开列页面,您可以看到更改的标题。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2Fb3b7d0a20cf431add9f727464436acaf2edd98a3%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/b3b7d0a20cf431add9f727464436acaf2edd98a3"></p></p> </div> </div> <div class="clear"></div> </div> <div class="wdhdnr"> <div class="huidanrtop"> <div class="wdhuidaxinx"> <div class="wdhuidaxm">回答(2):</div> </div> </div> <div class="clear"></div> <div class="wdhuidanrmid"> <div class="zuijiacont"> <p><p>1、打开dedecms织梦管理后台,用管理员账户密码登陆。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F55e736d12f2eb938727bc325db628535e4dd6fd7%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/55e736d12f2eb938727bc325db628535e4dd6fd7"></p> <p>2、点击【核心】----【网站栏目管理】-----选择一个栏目后面的,点击【更改】。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F9f2f070828381f30694c347ea7014c086f06f094%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/9f2f070828381f30694c347ea7014c086f06f094"></p> <p>3、【常规选项】  【高级选项】  【栏目内容】中选择{高级选项},填写栏目的SEO标题,复制代码【{dede:field.seotitle /}】并记住栏目模板的名称【list_article.htm】,点击下面的确定保存。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F2fdda3cc7cd98d10e1b8b5e62f3fb80e7aec90fd%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/2fdda3cc7cd98d10e1b8b5e62f3fb80e7aec90fd"></p> <p>4、点击【模板】【默认模板管理】找到模板文件名【list_article.htm】,点击模板后面的修改,弹出修改模板代码页面。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2Fa6efce1b9d16fdfa5a347f39ba8f8c5495ee7b89%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/a6efce1b9d16fdfa5a347f39ba8f8c5495ee7b89"></p> <p>5、打开【list_article.htm】代码页面,找到<title>标题,将{dede:field.title /}修改为</p> <p>{dede:field.seotitle /},点击保存。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2Fb812c8fcc3cec3fdcd531ea2d888d43f869427f3%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/b812c8fcc3cec3fdcd531ea2d888d43f869427f3"></p> <p>6、dedecms织梦程序默认是生成静态的html页面的,所以还需要作最后一步的更新栏目HTML文档才可以预览的。依次点击【生成】-------【更新栏目HTML】------【更新所有】----------【生成HTML】点开栏目的页面,就可以看到已经改好的标题了。</p> <p><img loading="lazy" class="ikqb_img" src="/picurl?url=https%3A%2F%2Fiknow-pic.cdn.bcebos.com%2F42166d224f4a20a4e60485109e529822730ed0cb%3Fx-bce-process%3Dimage%252Fresize%252Cm_lfit%252Cw_600%252Ch_800%252Climit_1%252Fquality%252Cq_85%252Fformat%252Cf_auto" esrc="https://iknow-pic.cdn.bcebos.com/42166d224f4a20a4e60485109e529822730ed0cb"></p></p> </div> </div> <div class="clear"></div> </div> <div class="wdhdnr"> <div class="huidanrtop"> <div class="wdhuidaxinx"> <div class="wdhuidaxm">回答(3):</div> </div> </div> <div class="clear"></div> <div class="wdhuidanrmid"> <div class="zuijiacont"> <p>您好,朋友。织梦云模版为您解答:<br>您如果是调用栏目SEO标题的话,首先在栏目的高级选项中设置好seo标题,在栏目的列表页中用<br>{dede:field.seotitle /}可以调用。<br>如果是调用栏目名称的话可以用{dede:field.typename/}调用。<br>希望我的回答能够帮到您!</p> </div> </div> <div class="clear"></div> </div> <div class="wdhdnr"> <div class="huidanrtop"> <div class="wdhuidaxinx"> <div class="wdhuidaxm">回答(4):</div> </div> </div> <div class="clear"></div> <div class="wdhuidanrmid"> <div class="zuijiacont"> <p>[field:typename/]用这个调用栏目的标题,{dede:field.seotitle /}用这个调用栏目的seo标题,还有就是{dede:type typeid='栏目id'}[field:typename /]{/dede:type}调用指定的栏目标题.是不是你需要的?</p> </div> </div> <div class="clear"></div> </div> </div> </div> <div class="wendaright"> <div class="wdluluerwema"> <div class="wdxgwttop">相关问答</div> <div class="wdxgwtnr"> </div> <div class="clear"></div> </div> <!-- 其他随机问答['id'=>alphaID($like['zid'])] --> <div class="wdluluerwema"> <div class="wdxgwttop">最新问答</div> <div class="wdxgwtnr"> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/415327298.html">在windows中,下列关于对话框的描述中错误的是()。</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/1181007310733669979.html">今年19岁了,初中都没有毕业还能读书吗?哎!各位大佬</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/537271767.html">压电陶瓷发电</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/1388093890209782340.html">cad怎样连续标注教程</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/382452866.html">汽车4S店中的4S的含义是什么?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/518654584.html">淘宝助手上传产品失败,您订购的图片空间怎么样</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/522305493.html">纳税申报表可作为作为原始凭证附在记账凭证后面吗。。。</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/431050548765724812.html">父亲173cm,母亲168cm,儿子将来能长多高的范围?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/107708787.html">如果梦幻西游一个人账号将军令丢了 账号资料不知道 就密码知道 该怎么办</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://58z.net/z/426005157.html">生辰八字五行查询表 查生辰八字五行缺什么,取什么名字好 出生年月农历2012年4月23日16:00</a></div> </div> </div> </div> </div> <div class="clear"></div> <div class="footer"> <!-- 移动底部导航 --> <div class="fanhuitop"><a href="#top" ref="nofollow"><img src="https://58z.net/static/old/img/fhtop.png" alt="返回顶部" title="返回顶部"></a></div> <div class="dibu"> <div class="dibu"> </div> </div> <div class="banquan"> <p>内容全部来源于网络收集,如有侵权,请联系网站删除:QQ:24596024</p> </div> </div> </div> </div> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?bc215519b6d2b72984cdb0a467b5dcf6"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> </body> </html>