帝国cms后台模型newstext字段设置编辑器高度
系统-管理数据表-管理字段-新闻正文(修改)-输入表单替换html代码-<?=ECMS_ShowEditorVar("newstext",$ecmsfirstpost==1?"":stripSlashes($r[newstext]),"Default","","300","100%")?>中的300为高度……
系统-管理数据表-管理字段-新闻正文(修改)-输入表单替换html代码-
<?=ECMS_ShowEditorVar("newstext",$ecmsfirstpost==1?"":stripSlashes($r[newstext]),"Default","","300","100%")?>
中的300为高度
- 上一篇
帝国cms专题调用标题-简介-文章数-创建时间-浏览数
专题标题:[!--pagetitle--]专题简介:[!--class.intro--]专题缩略图地址:[!--class.classimg--]专题下文章数:<?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where z
- 下一篇
帝国cms常用的SQL语句
1.复制tags字段内容到keyboard,当keyboard为空的时候:update [!db.pre!]ecms_news_data_1 a, [!db.pre!]ecms_news b set b.keyboard=a.infotags where a.id=b.id and