久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

Discuz! 官方交流社區

標題: discuz的專題頁面模板,不顯示網站logo、登陸口、導航?但header.htm中的其他內容都顯示。是默認就這樣的嗎? [打印本頁]

作者: BQQ    時間: 2025-6-23 23:23
標題: discuz的專題頁面模板,不顯示網站logo、登陸口、導航?但header.htm中的其他內容都顯示。是默認就這樣的嗎?
  1. <!--{template common/header}-->
  2. <div id="pt" class="bm cl">
  3.         <div class="z">
  4.                 <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em> $topic[title]
  5.         </div>
  6. </div>
  7. <link id="style_css" rel="stylesheet" type="text/css" href="{STATICURL}topic/t1/style.css?{VERHASH}">
  8. <style id="diy_style" type="text/css"></style>
  9. <div id="widgets">
  10. </div>
  11. <div class="wp">
  12. <!--[diy=diypage]-->
  13. <div id="diypage" class="area">
  14.         <div id="frame1" class="frame move-span frame-1 cl">
  15.                 <div class="frame-title title" id="frame1"><span class="titletext">{lang frame}</span></div>
  16.                 <div id="frame1_left" class="column frame-1-c"></div>
  17.         </div>
  18. </div>
  19. <!--[/diy]-->
  20. <!--{if $topic['allowcomment']==1}-->
  21.         {eval
  22.                 $data = &$topic;
  23.                 $common_url = "portal.php?mod=comment&id=$topicid&idtype=topicid";
  24.                 $form_url = "portal.php?mod=portalcp&ac=comment";
  25.                 $commentlist = portaltopicgetcomment($topicid);        }
  26.         <!--{template portal/portal_comment}-->
  27. <!--{/if}-->
  28. </div>
  29. <script src="misc.php?mod=diyhelp&action=get&type=topic&diy=yes&topicid=$topicid&r={echo random(4)}" type="text/javascript"></script>
  30. <!--{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