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

dede学习笔记 常用标签

dede niuguang 1445次浏览 8个评论

dede数据库配置文件所在路径为:/data/common.inc.php

dede 数据库配置文件

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

\uploads\templets\XXX –老版本

\templets\XXX  新版本

前台模板放到tmplets 目录下 

列如:a67

主要是是看那个文件夹里有default 默认模板 那就就是

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

 

栏目模板名称必须和dede默认栏目名称一致

首页模板 index.htm

dede栏目模板名称dede栏目模板名称

 

 

 

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

<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” />

获取当前根目录

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

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

取值标签

{dede:arclist} 类型for循环

[field:global.autoindex/] 根据循环自增

[field:XX/] 取字段

[field:arcurl/] 取地址

[field:litpic/] 图片缩略图

重点 大括号里面不能在添加大括号

{ { } } 错误 

{ [ ] } 正确

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


小广 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明dede学习笔记 常用标签
喜欢 (1)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到
(8)个小伙伴在吐槽
  1. Your house is valueble for me. Thanks!? michael kors [url=http://www.outletmichael-kors.us.com]michael kors[/url]
    匿名2018-08-13 01:41 (5天前)
  2. I found your weblog site on google and test a few of your early posts. Proceed to keep up the superb operate. I just further up your RSS feed to my MSN News Reader. Looking for forward to studying extra from you later on!? nike epic react flyknit
    匿名2018-08-13 14:59 (5天前)
  3. Aw, this was a really nice post. In idea I would like to put in writing like this moreover ?taking time and precise effort to make a very good article?however what can I say?I procrastinate alot and not at all seem to get one thing done. jordan 1 off white
    匿名2018-08-14 06:43 (4天前)
  4. You made some decent points there. I looked on the internet for the issue and located most individuals will associate with together with your website. golden goose
    匿名2018-08-14 22:11 (4天前)
  5. I抦 impressed, I need to say. Really rarely do I encounter a blog that抯 each educative and entertaining, and let me let you know, you've hit the nail on the head. Your idea is excellent; the problem is something that not enough people are talking intelligently about. I am very glad that I stumbled across this in my seek for one thing regarding this. nike huarache
    匿名2018-08-15 13:58 (3天前)
  6. It抯 exhausting to find educated people on this topic, but you sound like you know what you抮e talking about! Thanks adidas stan smith sneakers
    匿名2018-08-16 07:46 (2天前)
  7. Thank you a lot for giving everyone an extraordinarily wonderful chance to check tips from this website. It can be so kind plus full of amusement for me personally and my office mates to search your web site on the least thrice in a week to study the newest secrets you have got. And of course, I am actually astounded for the unique tips you give. Selected 3 tips on this page are essentially the very best we have ever had. adidas ultra boost 3.0
    匿名2018-08-18 07:52 (3小时前)