久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线
Discuz! 官方交流社區
標題:
discuz的專題頁面模板,不顯示網站logo、登陸口、導航?但header.htm中的其他內容都顯示。是默認就這樣的嗎?
[打印本頁]
作者:
BQQ
時間:
2025-6-23 23:23
標題:
discuz的專題頁面模板,不顯示網站logo、登陸口、導航?但header.htm中的其他內容都顯示。是默認就這樣的嗎?
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>›</em> $topic[title]
</div>
</div>
<link id="style_css" rel="stylesheet" type="text/css" href="{STATICURL}topic/t1/style.css?{VERHASH}">
<style id="diy_style" type="text/css"></style>
<div id="widgets">
</div>
<div class="wp">
<!--[diy=diypage]-->
<div id="diypage" class="area">
<div id="frame1" class="frame move-span frame-1 cl">
<div class="frame-title title" id="frame1"><span class="titletext">{lang frame}</span></div>
<div id="frame1_left" class="column frame-1-c"></div>
</div>
</div>
<!--[/diy]-->
<!--{if $topic['allowcomment']==1}-->
{eval
$data = &$topic;
$common_url = "portal.php?mod=comment&id=$topicid&idtype=topicid";
$form_url = "portal.php?mod=portalcp&ac=comment";
$commentlist = portaltopicgetcomment($topicid); }
<!--{template portal/portal_comment}-->
<!--{/if}-->
</div>
<script src="misc.php?mod=diyhelp&action=get&type=topic&diy=yes&topicid=$topicid&r={echo random(4)}" type="text/javascript"></script>
<!--{template common/footer}-->
復制代碼
我使用的是默認專題模板測試的(上面貼的模板代碼),新建一個專題發現header.htm中網站logo、登陸口、導航,以及footer.htm中的全部內容,在專題模板中都沒顯示。
查看源代碼,只是調用了header.htm中的js和css等內容,其他內容一概沒顯示,footer.htm內容更是一個字都沒有。
官方默認就故意這樣設計的嗎?還是我哪里沒搞對
作者:
湖中沉
時間:
7 天前
創建專題的時候有選擇是否顯示頭尾的
作者:
科站網
時間:
7 天前
(, 下載次數: 0)
上傳
點擊文件名下載附件
作者:
BQQ
時間:
6 天前
臥去,這眼睛,竟然沒看見。謝謝兩位大佬。
歡迎光臨 Discuz! 官方交流社區 (http://www.9999xn.com/)
Powered by Discuz! W1.0