VietXF Advanced Forum Statistics cho style mobile

Thảo luận trong 'Style & Template Questions' bắt đầu bởi hungnv85, 18/1/14.

1votes
5/5, 1 vote

  1. hungnv85

    hungnv85 New Member

    Bài viết:
    47
    Likes :
    2
    Các bác cho em hỏi muốn bật thông kê VietXF Advanced Forum Statistics trên style mobile thì làm thế nào vậy? Thanks các bác
     
    Đang tải...
  2. hungnv85

    hungnv85 New Member

    Bài viết:
    47
    Likes :
    2
    Có ai biết giúp mình với
     
  3. ltgbao97

    ltgbao97 Member

    Bài viết:
    282
    Likes :
    34
    site bạn đâu
     
  4. hungnv85

    hungnv85 New Member

    Bài viết:
    47
    Likes :
    2
  5. ltgbao97

    ltgbao97 Member

    Bài viết:
    282
    Likes :
    34
    o template -> VietXfAdvStats_wrapper_section_li

    Thay toàn bộ bằng code sau:

    HTML:
    <xen:if is="{$section.rendered}"> <li id="{$section.section_id}" class="VietXfAdvStats_BlockContent {$liClass}"> {xen:raw {$section.rendered}} </li> <xen:else /> </xen:if>
    
    Sau đó vào VietXfAdvStats_wrapper
    Thay thế bằng code sau:


    HTML:
    <xen:require js="js/VietXfAdvStats/frontend.js" /> <xen:require css="VietXfAdvStats.css" /> <div class=VietXfAdvStats_Header>Chủ đề mới nhất</div> <xen:foreach loop="$sections2nd" value="$section"> <xen:include template="VietXfAdvStats_wrapper_section_li"> » <xen:set var="$liClass">VietXfAdvStats_Block2ndContent</xen:set> </xen:include> </xen:foreach>
    
    Tiếp theo, vào VietxfAdvStats_threads_recent
    HTML:
    <xen:require css="message.css" /> <div class="topx"> » <a href="{xen:link '{xen:if '{$thread.isNew}', 'threads/unread', 'threads'}', {$thread}}"> <xen:if is="@VietXfAdvStats_ThreadTitleChars > 0"> {xen:helper wordtrim, {$thread.title}, @VietXfAdvStats_ThreadTitleChars} <xen:else /> {$thread.title} </xen:if> </a> (<xen:username user="$thread" rich="true" />) </div>
    
    Thêm vào message.css:

    HTML:
    .topx { /* background-color:#FFFFFF; color:#000000; font-size:.9em; padding: 4px; width:100% -8px; margin-lefT:auto; margin-right:auto; border-left:1px solid @subHeading.border-bottom-color; border-right:1px solid @subHeading.border-bottom-color; border-bottom:1px solid @subHeading.border-bottom-color; */ padding: 3px; border-left:1px solid @subHeading.border-bottom-color; border-right:1px solid @subHeading.border-bottom-color; border-bottom:1px solid @subHeading.border-bottom-color; }
    
    http://vxf.vn/threads/fix-vietxf-topx-tren-style-mobile.2569/
     
    hungnv85 thích bài này.
comments powered by Disqus

Chia sẻ trang này

Đang tải...