Show sub forum with 2 column for DZ7
แก้ไขล่าสุด yugiohhh เมื่อ 2009-7-3 03:37Vietnamese Productions :victory:
View my demo from my discuz http://teenhk.com
http://upanh.com/uploads/02-July-2009/i5pk4i1i6i8ncboli06.jpeg
And how to make it:
Step 1: Open file discuz.htm in templates/default/ (or in your templates folder)
Find:<!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->Replace with:
Style 1: Keeping text "Sub forum"
<!-- Start - SubForum Column by yugiohhh - yugiohhh.co.cc - teenhk.com -->
<!--{if $forum['subforums']}--><p>{lang forum_subforums}:</p>
<p><div style="width: 100%;">$forum['subforums']</div></p>
<!--{/if}-->
<!-- End - SubForum Column by yugiohhh - yugiohhh.co.cc teenhk.com -->Kiểu 2: Bỏ luôn chữ "Diễn đàn phụ"
<!-- Start - SubForum Column by yugiohhh - yugiohhh.co.cc teenhk.com -->
<!--{if $forum['subforums']}--><p><div style="width: 100%;">$forum['subforums']</div></p>
<!--{/if}-->
<!-- End - SubForum Column by yugiohhh - yugiohhh.co.cc teenhk.com -->Don't remove my copyright please, thanks
Step 2: Open file index.php
Find: (line 130)$forumlist[$forum['fup']]['subforums'] .= '<a href="forumdisplay.php?fid='.$forum['fid'].'">'.$forum['name'].'</a> ';Thay bằng:$forumlist[$forum['fup']]['subforums'] .= '<div style="width: 48%; float: left; margin: 2px;"><a href="forumdisplay.php?fid='.$forum['fid'].'">'.$forum['name'].'</a></div>';This is a classic index.php
Update Cache! Enjoy :D sมายความว่าไง ช่วยบอกทั ๆ ๆTT sมายความว่าไง ช่วยบอกทั ๆ ๆTT
ต้นฉบับโพสโดย lanla เมื่อ 2009-7-3 01:04 http://www.discuzthai.com/images/common/back.gif
English please.............................. Thank for share
ฟอรั่มย่อย (หมวดหมู่ย่อย) มีสองอัน
ลองเข้าไปชมเว็บดู Thx you..:victory: ใครคลิกเว็บด้านบนติดไวรัสแน่ ขอบอก ไวรัสบานนนนนนนนนนนนนนนนนนนนนนนนนนนนนนนนน เซ็ง ปล่อยไวรัสหรอเจ้าของกระทู้ ใช่ๆๆๆๆๆๆๆๆๆๆ ระวังด้วยเจอไข้หวัด 2009 มา ยังเจอไวรัส อีก กลัวมากมาย Oh my god, Vẫn còn tiếng việt, Thai plz ;)) =)) bos tay ku yuhhh quen translate sang en a =)) ไม่ทันแล้วเจ้าค่ะ คลิ๊กไปเต็มๆ ง่าๆๆๆๆๆๆๆๆๆๆๆ
อ่านก็ไม่รู้เรื่อง มีใครแนะนำแบบนี้ที่เป็นภาษาไทยได้ไหมเจ้าค่ะ
หน้า:
[1]