欢迎访问2017年洛阳SEO牛广的官方博客,只要标题有亲测有效的都是原创文章。为大家提供最新真实有效的案例,承接网站SEO百度优化业务QQ:939380096

dede替换前台模板方法–学习笔记

dede niuguang 529次浏览 7个评论

dede替换前台页面默认模板地址

\uploads\templets\XXX –老版本

\templets\XXX  新版本

前台模板放到tmplets 目录下

 qq%e6%88%aa%e5%9b%be20161105133620

 

修改对应模板

dede模板设置

 

模板文件名称,要对应 dede模板名称 

列如 a67模板文件夹

首页 index.htm

列表页 list_ch17.htm

文章页 article_ch17.htm

 dede模板

dede后台 设置默认模板文件 并且生成模板文件

dede设置模板文件

dede首页模板

修改模板文件样式文件(CSS JS)

Js css Images 引入标签 常量 {dede:global.cfg_templets_skin/}

{dede:global.cfg_templets_skin/}  代表templets目录下对应的模板文件 A67

<link href=”{dede:global.cfg_templets_skin/}/css/index.css” type=”text/css” rel=”stylesheet”/>
<script  src=”{dede:global.cfg_templets_skin/}/js/global.js” language=”javascript”></script>
<img src=”{dede:global.cfg_templets_skin/}/images/logo.gif” alt=”手机电影” border=“0” />

dede标签

dede标签

 


小广 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明dede替换前台模板方法–学习笔记
喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到
(7)个小伙伴在吐槽
  1. Would you be excited by exchanging hyperlinks? lebron james shoes [url=http://www.lebronjames-shoes.us.com]lebron james shoes[/url]
    匿名2018-08-13 11:26 (5天前)
  2. There are definitely a number of details like that to take into consideration. That could be a nice level to deliver up. I supply the thoughts above as common inspiration however clearly there are questions like the one you convey up where a very powerful factor can be working in honest good faith. I don?t know if best practices have emerged round issues like that, but I am certain that your job is clearly recognized as a fair game. Both boys and girls feel the affect of only a moment抯 pleasure, for the rest of their lives. hermes birkin
    匿名2018-08-14 04:25 (4天前)
  3. Thank you a lot for giving everyone remarkably spectacular possiblity to read in detail from this site. It really is so useful plus jam-packed with a good time for me personally and my office mates to visit your website on the least three times in 7 days to learn the newest issues you have got. And of course, I am just at all times happy concerning the incredible secrets you give. Certain 3 ideas in this posting are unequivocally the most efficient we've had. adidas ultra boost
    匿名2018-08-15 05:41 (3天前)
  4. I enjoy you because of your entire labor on this blog. Gloria enjoys managing investigation and it is simple to grasp why. Almost all learn all of the powerful tactic you create useful tips and hints by means of this web blog and as well strongly encourage contribution from some others on that point then my simple princess is being taught a great deal. Have fun with the remaining portion of the year. You're performing a fabulous job. Adidas Originals NMD Vapour Grey Pink Light
    匿名2018-08-16 00:19 (2天前)
  5. That is the appropriate weblog for anyone who wants to find out about this topic. You realize a lot its nearly hard to argue with you (not that I really would need匟aHa). You definitely put a brand new spin on a subject thats been written about for years. Great stuff, just nice! lacoste outlet
    匿名2018-08-16 04:42 (2天前)
  6. Nice post. I learn one thing more challenging on completely different blogs everyday. It'll always be stimulating to learn content material from other writers and follow a little bit one thing from their store. I抎 want to use some with the content on my weblog whether you don抰 mind. Natually I抣l give you a hyperlink on your net blog. Thanks for sharing. links of london
    匿名2018-08-16 23:04 (1天前)
  7. An interesting discussion is price comment. I feel that you should write extra on this subject, it won't be a taboo subject but generally people are not enough to talk on such topics. To the next. Cheers michael kors outlet
    匿名2018-08-17 14:27 (20小时前)