帝国cms标题属性设置了加粗颜色等属性在内容页显示
标题设置了属性不同的颜色!
在内容页用[!--title--]只能显示出标题文字,用什么代码能让内容页也能显示出设置好的标题的颜色?
在内容页模板找到[!--title--]替换为
DoTitleFont($navinfor[titlefont],$navinfor[title])
帝国cms灵动标签显示标题属性的方法:
$bqr[title]
替换成
DoTitleFont($bqr[titlefont],$bqr[title])
标题设置了属性不同的颜色!
在内容页用[!--title--]只能显示出标题文字,用什么代码能让内容页也能显示出设置好的标题的颜色?
在内容页模板找到[!--title--]替换为
DoTitleFont($navinfor[titlefont],$navinfor[title])
帝国cms灵动标签显示标题属性的方法:
$bqr[title]
替换成
DoTitleFont($bqr[titlefont],$bqr[title])
帝国CMS文章内容页的上一篇和下一篇太单调,用灵动标签sql调用获取每个字段,这样可以按照自己网站的模板来实现了。 一: 动态调用上一篇下一篇链接 <a href="[!--news.url--]e/public/GotoNext?classid=[!--classid--]&id...
做帝国cms模板网时候,经常需要使用到自定义页面,例如我们做单页(比如“公司介绍”、“联系我们”,联系我们等页面)时一般采用自定义页面的方式来做,那么帝国CMS自定义页面怎么调用呢? 调用出自定义页面导航可以用标签SQL调用。如下: 例子1:调用自定义页面分类ID=1的页面导航 [e:loop={...
帝国CMS栏目缩略图的调用方法,来看看吧。 帝国CMS栏目页使用灵动标签调用当前栏目缩略图: [e:loop={"select classimg from phome_enewsclass where classid='$GLOBALS[navclassid]'",1,24,0}]<img ...
帝国cms自定义列表多表查询统计代码 统计记录: select count(*) as total from [!db.pre!]ecms_news union select count(*) as total from [!db.pre!]ecms_movie 查询记录: select cl...
帝国CMS自定义页面导航,实现当前页面高亮显示! 以下是实现代码 [e:loop={'select id,path,title from [!db.pre!]enewspage where classid=2 order by id',20,24,0}] <?php $pageurl=$p...
帝国CMS灵动标签调用子栏目及子栏目信息的方法 代码如下: <ul class="cp0_ul"> [e:loop={"select classid,classname from {$dbtbpre}enewsclass where bclassid=8 order by myord...