手机
当前位置:查字典教程网 >CMS教程 >dedecms >在dedecms文章页中获取当前栏目字段如content字段
在dedecms文章页中获取当前栏目字段如content字段
摘要:在dedecms文章页中获取当前栏目字段,例如在dedecms的文章页中调用栏目content字段{dede:field.typeidrun...

在dedecms 文章页中获取当前栏目字段,例如

在dedecms的文章页中调用栏目content字段

{dede:field.typeid runphp='yes'}

$sql = "SELECT content FROM `dede_arctype` WHERE id=@me";

$query = mysql_query($sql);

$row=mysql_fetch_array($query);

@me = $row[content];

{/dede:field.typeid}

【在dedecms文章页中获取当前栏目字段如content字段】相关文章:

dedecms实现二级栏目导航的仿制方法

dedecms文章评论功能用法分析

dedecms 的cn_substr_utf8字符串截取函数商榷

dedecms中调用隐藏栏目的方法

dedecms获取文档当前栏目所在目录链接URL

dedecms获取当前文档url地址的方法

Dedecms文章标题及文章摘要长度修改的方法

dedecms 列表页,频道页获取当前栏目的父栏目名称的实现方法

dedecms的sql标签中传入参数的方法

dedecms列表推荐文章默认为加粗的修改方法

精品推荐
分类导航