dedecms模版制作使用方法(Dedecms template production method of use).doc

dedecms模版制作使用方法(Dedecms template production method of use).doc

  1. 1、本文档共20页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
dedecms模版制作使用方法(Dedecms template production method of use)

dedecms模版制作使用方法(Dedecms template production method of use) Dedecms template production method of use Parsing engine overview, template design specifications, code reference Mark reference: Arclist (artlist, likeart, hotart, imglist, imginfolist, coolart, specart) field, channel, mytag, vote, FriendLink, mynews, loop,, channelartlist, page, list, fieldlist, pagelist, pagebreak A dream, before understanding the template parsing engine overview DedeCms template code, you know about the template engine knowledge is very meaningful. It is a template engine using the XML name space form template parser, the biggest advantage of using. The parser can easily make the template tag attributes, it feels like in HTML, the template code is very intuitive and flexible version of the Zhi Mengmo plate engine not only can analyze the error marker template parsing can template. 1, a template engine code style have the following form: The {dede: tag name attribute = value'/} The {dede: tag name attribute = value'}{/dede: tag name} The {dede: tag name attribute = value'} custom style template (InnerText) {/dede: tag name} Prompt: The {dede: tag name = value attribute tag'}{/dede: tag name} This form, in the 2.1 edition, the end of said only need to use "{/dede}", but V3 requires strict use of the {/dede: tag name}, otherwise it will be reported wrong. 2, a template engine incorporating a plurality of system markers, these systems are labeled can be used on any occasion. (1) the global tag indicates an external variable that can call any configuration parameter of the system other than the database password, in the form of: {dede:global name='variable name'}{/dede:global} or {dede:global name='/}' variable name The variable name can not add $symbols, variables such as $cfg_cmspath, should be {dede:global name='cfg_cmspath'/}. (2) foreach is used to output an array, in the form of: {dede:foreach array='array name'}[field:key/] [field:value/]{/dede:foreach} (3) include introduces a file i

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档