Font Awesome Icons in Tablinks

Thảo luận trong 'Style & Template Questions' bắt đầu bởi newbie, 11/10/13.

1votes
5/5, 1 vote

  1. newbie

    newbie Member

    Bài viết:
    100
    Likes :
    10
    Đang tải...
  2. phamhuudu

    phamhuudu Verified User

    Bài viết:
    1,749
    Likes :
    727
    Post bài đầy đủ link này là sao :|
     
  3. p3iu18

    p3iu18 Member

    Bài viết:
    298
    Likes :
    123
    Ý của bạn này là nhờ ai có acc bên xenforo, up dùm qua bên đây 2 bài viết trên 1 cách đầy đủ. Vì bạn ấy không có acc nên không xem đầy đủ được :D
     
  4. phamhuudu

    phamhuudu Verified User

    Bài viết:
    1,749
    Likes :
    727
    Àh há, đây nè :D

    Àh há :D Đây nè:

    FontAwesome Website: http://fortawesome.github.io/Font-Awesome/
    1. Go to PAGE_CONTAINER and add this somewhere in the <head>
    Code:
    Mã:
    <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
    2. Go to navigation and find:
    Code:
    Mã:
    <ul class="secondaryContent blockLinksList"> <xen:hook name="navigation_tabs_forums"> <xen:if is="{$visitor.user_id}"><li><a href="{xen:link 'forums/-/mark-read', $forum, 'date={$serverTime}'}" class="OverlayTrigger">{xen:Phrase mark_forums_read}</a></li></xen:if> <xen:if is="{$canSearch}"><li><a href="{xen:link search, '', 'type=post'}">{xen:Phrase search_forums}</a></li></xen:if> <xen:if is="{$visitor.user_id}"> <li title="List of forums that you are currently watching" class="Tooltip"><a href="{xen:link 'watched/forums'}">{xen:Phrase watched_forums}</a></li> <li><a href="{xen:link 'watched/threads'}">{xen:Phrase watched_threads}</a></li> </xen:if> <li><a href="{xen:link 'find-new/posts'}" rel="nofollow" id="newPostsGlow">{xen:if $visitor.user_id, {xen:Phrase new_posts}, {xen:Phrase recent_posts}}</a></li> </xen:hook> </ul>
    Replace with:
    Code:
    Mã:
    <ul class="secondaryContent blockLinksList"> <xen:hook name="navigation_tabs_forums"> <xen:if is="{$visitor.user_id}"><li><a href="{xen:link 'forums/-/mark-read', $forum, 'date={$serverTime}'}" class="OverlayTrigger"><i class="icon-eye-open" style="padding-right: 3px;"></i>{xen:Phrase mark_forums_read}</a></li></xen:if> <xen:if is="{$canSearch}"><li><a href="{xen:link search, '', 'type=post'}"><i class="icon-search" style="padding-right: 3px;"></i>{xen:Phrase search_forums}</a></li></xen:if> <xen:if is="{$visitor.user_id}"> <li><a href="{xen:link 'watched/forums'}"><i class="icon-comment" style="padding-right: 3px;"></i>{xen:Phrase watched_forums}</a></li> <li><a href="{xen:link 'watched/threads'}"><i class="icon-comments" style="padding-right: 3px;"></i>{xen:Phrase watched_threads}</a></li> </xen:if> <li><a href="{xen:link 'find-new/posts'}" rel="nofollow"><i class="icon-star" style="padding-right: 3px;"></i>{xen:if $visitor.user_id, {xen:Phrase new_posts}, {xen:Phrase recent_posts}}</a></li> </xen:hook> </ul>
    3. Find:
    Code:
    Mã:
    <ul class="secondaryContent blockLinksList"> <xen:hook name="navigation_tabs_members"> <li><a href="{xen:link members}">{xen:Phrase notable_members}</a></li> <xen:if is="{$xenOptions.enableMemberList}"><li><a href="{xen:link members/list}">{xen:Phrase registered_members}</a></li></xen:if> <li><a href="{xen:link online}">{xen:Phrase current_visitors}</a></li> <xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:Phrase recent_activity}</a></li></xen:if> </xen:hook>
    Replace with:
    Code:
    Mã:
    <ul class="secondaryContent blockLinksList"> <xen:hook name="navigation_tabs_members"> <li><a href="{xen:link members}"><i class="icon-star" style="padding-right: 3px;"></i>{xen:Phrase notable_members}</a></li> <xen:if is="{$xenOptions.enableMemberList}"><li><a href="{xen:link members/list}"><i class="icon-group" style="padding-right: 3px;"></i>{xen:Phrase registered_members}</a></li></xen:if> <li><a href="{xen:link online}"><i class="icon-eye-open" style="padding-right: 3px;"></i>{xen:Phrase current_visitors}</a></li> <xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}"><i class="icon-fire" style="padding-right: 3px;"></i>{xen:Phrase recent_activity}</a></li></xen:if> </xen:hook> </ul>
    Resource Manager

    1. Got to resources_tab_links and replace everything with this:

    Code:
    Mã:
    <ul class="secondaryContent blockLinksList"> <xen:if is="{$canSearch}"><li><a href="{xen:link search, '', 'type=resource_update'}"><i class="icon-search" style="padding-right: 3px;"></i>{xen:Phrase search_resources}</a></li></xen:if> <li><a href="{xen:link resources/authors}"><i class="icon-star" style="padding-right: 3px;"></i>{xen:Phrase most_active_authors}</a></li> <xen:if is="{$visitor.user_id} && {$visitor.resource_count}"><li><a href="{xen:link resources/authors, $visitor}"><i class="icon-user" style="padding-right: 3px;"></i>{xen:Phrase your_resources}</a></li></xen:if> <xen:if is="{$visitor.user_id}"><li><a href="{xen:link resources/watched}"><i class="icon-eye-open" style="padding-right: 3px;"></i>{xen:Phrase watched_resources}</a></li></xen:if> </ul>
    [​IMG]
    [​IMG]
    [​IMG]
    Please like and rate if you like this resource! :)
     
comments powered by Disqus

Chia sẻ trang này

Đang tải...