1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Separate Sticky and Normal Threads 2

Discussion in 'Template Modifications [Archive]' started by cobra1162, Oct 24, 2010.

  1. cobra1162

    cobra1162 Active Member

    This modified template is used to separate the important topic of normal


    Go into your admincp style template

    Search template "thread_list"
    Find:

    Code:
    <xen:foreach loop="$stickyThreads" value="$thread">
                <xen:include template="thread_list_item" />
            </xen:foreach>
    
    ADD before:

    Code:
    <xen:if is="{$stickyThreads}">
                <li class="sectionHeaders">importants posts</li>
                    </xen:if>
    And find:


    Code:
    <xen:foreach loop="$stickyThreads" value="$thread">
                <xen:include template="thread_list_item" />
            </xen:foreach>
    Add below:

    Code:
    <xen:if is="{$stickyThreads}">
                <li class="sectionHeaders">Normal Posts</li>
                    </xen:if>
    French support will be on: http://xenfrench.com/forum/index.php
    un support fran├žais se fera sur : http://xenfrench.com/forum/index.php

    important.png
     
    Ghostaunt, Archet, FredC and 4 others like this.
  2. Allan

    Allan Well-Known Member

    Nice job ;)
     
  3. FredC

    FredC Well-Known Member

    Nice, thanks.
     
  4. Floris

    Floris Guest

    Great job.
     

Share This Page