SupeSite7.5 讓會員中心擁有不同的title和提示信息_SupeSite教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
注意本人分享的都是原理,所有的創意還需要您自己去思考與完成;
在space.html.php里的最頂上插入:
對get出來的網址進入判斷.
在導航處把 $tohere 變量和$nnav放到適當的位置就可以了.
演示: http://www.nihaocq.com/space.php?uid=1 注意看title和下面導航信息,如點擊論壇就提示進去論壇點擊博客就提示進博客.
在space.html.php里的最頂上插入:
- <!--{if $_GET['op'] == 'news'}-->
- <!--{eval $title=$member[username]."發布的資訊 - ".$_SCONFIG[sitename]; $nnav=$member[username].'發布的資訊'; $towhere='<a href="http://u.nihaocq.com/" class="r" target="_blank" style="text-decoration: none;">進入重慶博客 </a>';}-->
- <!--{/if}-->
- <!--{if $_GET['op'] == 'uchphoto'}-->
- <!--{eval $title=$member[username]."上傳的照片 - ".$_SCONFIG[sitename]; $nnav=$member[username].'在重慶博客上傳的照片'; $towhere='<a href="http://u.nihaocq.com/" class="r" target="_blank" style="text-decoration: none;">進入重慶博客 </a>';}-->
- <!--{/if}-->
- <!--{if $_GET['op'] == 'uchblog'}-->
- <!--{eval $title=$member[username]."發布的日志 - ".$_SCONFIG[sitename]; $nnav=$member[username].'在重慶博客發布的日志'; $towhere='<a href="http://u.nihaocq.com/" class="r" target="_blank" style="text-decoration: none;">進入重慶博客 </a>';}-->
- <!--{/if}-->
- <!--{if $_GET['op'] == 'bbs'}-->
- <!--{eval $title=$member[username]."在重慶論壇發布的帖子 - ".$_SCONFIG[sitename]; $nnav=$member[username].'在重慶論壇發布的帖子'; $towhere='<a href="http://bbs.nihaocq.com/" class="r" target="_blank" style="text-decoration: none;">進入重慶論壇 </a>';}-->
- <!--{/if}-->
對get出來的網址進入判斷.
在導航處把 $tohere 變量和$nnav放到適當的位置就可以了.
演示: http://www.nihaocq.com/space.php?uid=1 注意看title和下面導航信息,如點擊論壇就提示進去論壇點擊博客就提示進博客.
查看更多 supesite教程 supesite模板
相關SupeSite教程:
- SupeSite默認焦點輪轉圖簡單美化方法
- SupeSite7.5 讓資訊發布日期更加個性化
- SupeSite7.5 benbaHTML生成方案第一版
- SupeSite7.5發布評論后直接跳轉回到文章頁面的完美方法
- SupSite7.5單個頁面頻道編輯后無法訪問
- SupSite7.5登陸后臺先驗證權限問題解決方案
- SupSite模型無權限評論修改方案
- SupSite模板里經常用到以下幾個標簽的說明
- SupSite頁面文件與模塊關系說明
- 升級SupeSite7.5出現Errno.: 1054的解決方法
- SupeSite7.5 非gbk版本程序,在回復某帖子時回復被截斷修改方案
- SupeSite 7.0 模板CSS修改全攻略教程
- 相關鏈接:
- 教程說明:
SupeSite教程-SupeSite7.5 讓會員中心擁有不同的title和提示信息
。