Diễn đàn share thủ thuật code hay shin

Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.
Diễn đàn share thủ thuật code hay shin

    [Share] Cách hiển thị số bài trong index_box

    Dr.Thanh
    Dr.Thanh

    Tân Binh
    Tân Binh


    Posts : 6
    Points : 12
    Thanked : 0
    Join date : 18/04/2011
     Status Status : Dr.Thanh

    [Share] Cách hiển thị số bài trong index_box Empty [Share] Cách hiển thị số bài trong index_box

    Bài gửi by Dr.Thanh Mon Apr 18, 2011 12:18 am

    Demo

    Enlarge this imageReduce this image Click to see fullsize
    [Share] Cách hiển thị số bài trong index_box Demoo

    Enlarge this imageReduce this image Click to see fullsize
    [Share] Cách hiển thị số bài trong index_box Demok
    Các làm :
    Administration Panel(Bảng điều khiển ) > Display>Templates >General( quản lý tổng thể)
    Click vào index_box
    Bạn tìm code sau

    Code:
    <h{catrow.forumrow.LEVEL} class="hierarchy">
                <span class="forumlink">
                  <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>

                </span>
            </h{catrow.forumrow.LEVEL}>
    Thay lại bằng code

    Code:
    <table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
                <span class="forumlink">
                  <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>

                </span>
            </h{catrow.forumrow.LEVEL}></td><td style="padding-left: 40px; text-align: right; font-size: 10px; color: darkgray" class="gensmall">({catrow.forumrow.POSTS} tin nhắn trong  {catrow.forumrow.TOPICS} chủ đề.)</td></tr></tbody></table>
    Trong đó
    màu của dố lượng hiện ra là màu xám , chú ý demo , nếu bạn muốn đổi màu lại thì bạn tìm trong đoạn vừa thay
    Code:
     font-size: 10px; color: darkgray

      Hôm nay: Fri Mar 29, 2024 1:07 am