zoukankan      html  css  js  c++  java
  • 帝国cms 相关问题

    最近使用帝国cms  在使用过程中遇到一些问题,网上查找,询问大神,访问论坛,解决问题,解决后分享给大家,少走弯路,好好学习!!!

    问题:筛选 您来自的链接不存在

    问题:帝国评论调不到评论的字段

    问题:提交不了评论

    问题:提交完直接跳转到评论页面

    问题:帝国数据还原

    问题:帝国备份需要备份什么》?

    问题:调用不出内容?SQL err:  select * from phome_ecms_photo where checked=1  order by 

    问题:表一模型下的信息调用匹配字段的表2里的相关信息?

    问题:万能标签的使用?

    筛选解决:
    问题:筛选 您来自的链接不存在
    解决1.data属性设为777
    解决2.打开e/class/userfun.php
    global $public_r改为global $public_r,$navclassid;
    if($_GET['classid'])
    {
    $classid=RepPostVar($_GET['classid']);
    $urlcs.='&classid='.$classid;
    }
    else
    {
    $urlcs.='&classid='.$navclassid;
    }
    解决3:在系统模型中把需要筛选的字段选择结合项

    帝国评论:
    问题:调不到评论的字段
    解决1.<script src="[!--news.url--]e/pl/more?classid=[!--classid--]&id=[!--id--]&num=5&tbcolor=E8F5FB&tdheight=25&tbwidth=98%"></script>
    (调用最近5条)
    解决2.<iframe name="ifc" id="ifc" src="/e/pl/?classid=[!--classid--]&id=[!--id--]" width="100%" marginheight="0" border="0" frameborder="0" scrolling="no" height="0"
    onload="this.height=0;var fdh=(this.Document?this.Document.body.scrollHeight:this.contentDocument.body.offsetHeight);this.height=(fdh>150?fdh:150)" ></iframe>
    (调用评论页面)
    问题:提交不了评论
    解决:路径不对,修改form提交路径/e/pl/
    问题:提交完直接跳转到评论页面
    解决:在form中加一句代码:<input type="hidden" name="ecmsfrom" value="9"> 返回当前页
    帝国数据还原:
    解决:备份时数据存放格式“十六进制”
    问题:帝国备份需要备份什么》?
    解决:
    1.安装包(整套代码)
    2.模板导出的备份
    3.数据库备份
    4.样式功能备份
    5.自定义函数备份
    问题:调用不出内容?SQL err: select * from phome_ecms_photo where checked=1 order by
    解决:
    1.板式问题,下载最新版本
    2.使用php调用字段+php写模板
    eg:
    <?php
    $sqlinfo=$empire->query("select * from phome_ecms_photo where classid='17' order by newstime desc limit 6");
    while($fra=$empire->fetch($sqlinfo))
    {
    ?>
    <div class="d1" onclick="max(this)"><img src="<?=$fra[picurl]?>" alt="<?=$fra[picsay]?>"/></div>
    <?php
    }
    ?>

    问题:表一模型下的信息调用匹配字段的表2里的相关信息?
    解决:
    [ecmsinfo]7,6,32,0,0,23,0,"shejishi='$navinfor[sjname]'",'newstime DESC'[/ecmsinfo]
    万能标签字段:获取与当前页面某字段匹配的所有信息。
    问题:万能标签的使用?
    解决:
    1.首先创建相关的标签模板
    2.[ecmsinfo]栏目ID/标题分类ID,显示条数,标题截取数,是否显示栏目名,操作类型,模板ID,只显示有标题图片,附加SQL条件,显示排序[/ecmsinfo]

  • 相关阅读:
    异构网络中的并行传输问题
    如何编程实现快速获取一个整型数中的bit流中1的个数
    对单例模式的一个简单思考
    OsgEearh 中的 FeatureEditor的实现原理
    关于在osgearth 中 出现 arial.ttf : file not handled 的问题
    Qt 中 this->size() this->rect() event->size() 三者差异
    Qt 中QPainter 使用中出现的问题
    对c语言中static函数的理解
    对声明和定义的理解
    个人对头文件的理解
  • 原文地址:https://www.cnblogs.com/thongyan/p/7286478.html
Copyright © 2011-2022 走看看