迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發框架,基于MIT開源許可協議發布,免費且不限制商業使用,是免費開源的產品,以萬端互聯為設計理念,支持的微信公眾號、小程序、APP客戶端、移動端網站、PC網站等多終端式管理系統。
聯系官方銷售客服
1835022288
028-61286886
就創建了一個專題目錄更新靜態內容頁彈出這個怎么回事?類文件:App/Comment/Models/Comment.php不存在
手動刪除show模板的comment的代碼
回復@迅睿框架技術-李波 沒有comment代碼,所以才摸不著頭腦
仔細找找,肯定有comment,去掉他,我前天遇到過一次
<body>
{template "header.html"}
<div class="catpos">
<div class="left"><span class="jiantou"></span>位置:<a href="{SITE_URL}">首頁</a> > {dr_catpos($catid, '', true, '<a href="[url]">[name]</a> > ')}</div>
</div>
<div class="personbox wrapper1200 cl">
<h1>{$title}</h1>
<div class="ztms">{$content}</div>
{if $ztarc}
<ul class="cl">
{module module=zl IN_id=$ztarc return=r}
<li>
<a href="{$r.url}" title="{$r.title}">
<div class="hero_list_pic">
<img src="{dr_thumb($r.thumb, 130, 130)}" width="130" height="130" alt="{$r.title}圖片" />
{if $r.sx}<i>{$r.sx}</i>{else}{/if}
<div class="hero_list_name"><p>{$r.title}</p></div>
</a>
</li>
{/module}
</ul>
{else}{/if}
{template "footer.html"}
</body>
移動端show.html
移動端沒配置有模板,它是不是走默認模版所以導致錯誤啊
沒有模板會自動加載default目錄
手動刪除show模板的comment的代碼
回復@迅睿框架技術-李波 沒有comment代碼,所以才摸不著頭腦
仔細找找,肯定有comment,去掉他,我前天遇到過一次
<body>
{template "header.html"}
<div class="catpos">
<div class="left"><span class="jiantou"></span>位置:<a href="{SITE_URL}">首頁</a> > {dr_catpos($catid, '', true, '<a href="[url]">[name]</a> > ')}</div>
</div>
<div class="personbox wrapper1200 cl">
<h1>{$title}</h1>
<div class="ztms">{$content}</div>
{if $ztarc}
<ul class="cl">
{module module=zl IN_id=$ztarc return=r}
<li>
<a href="{$r.url}" title="{$r.title}">
<div class="hero_list_pic">
<img src="{dr_thumb($r.thumb, 130, 130)}" width="130" height="130" alt="{$r.title}圖片" />
{if $r.sx}<i>{$r.sx}</i>{else}{/if}
</div>
<div class="hero_list_name"><p>{$r.title}</p></div>
</a>
</li>
{/module}
</ul>
{else}{/if}
</div>
{template "footer.html"}
</body>
移動端show.html
移動端沒配置有模板,它是不是走默認模版所以導致錯誤啊
沒有模板會自動加載default目錄