•  
     

IPB - Separar Os Tópicos Fixados Dos Não Fixados

IMG_20130319_010038.jpg


Acesse: Admin CP > Look&Feel > Manage Template & CSS > Forum View > forumIndexTemplate

Procure por:

Código: Selecionar todos

<tr class='subhead altbar'>
                    <th scope='col' colspan='<if test="endannouncements:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>
                        {$this->lang->words['forum_topic_list']}
                    </th>
                </tr>
            </if>
            <!-- BEGIN TOPICS -->
            <if test="hastopics:|:is_array( $topic_data ) AND count( $topic_data )">
                {parse striping="forumTable" classes="row1,row2"}
                <foreach loop="topics:$topic_data as $tid => $data">


Substitua por:

Código: Selecionar todos

<tr class='subhead altbar'>
                    <th scope='col' colspan='<if test="endannouncements:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>
                        <if test="$this->hasPinned=1">Tópicos Importantes</if><if test="$this->hasPinned=0">Outros Tópicos</if>
                                             
                                                 
                    </th>
                </tr>
            </if>
            <!-- BEGIN TOPICS -->
            <if test="hastopics:|:is_array( $topic_data ) AND count( $topic_data )">
                {parse striping="forumTable" classes="row1,row2"}
                <foreach loop="topics:$topic_data as $tid => $data">
                                <if test="$data['pinned']">
<if test="$this->hasPinned=1">
</if><else />
<if test="$this->hasPinned">
<if test="$this->hasPinned=0">
</if>
<tr class='subhead altbar'>
<th scope='col' colspan='<if test="endannouncements:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>
Outros Tópicos
    </th>
   </tr>
  </if>
</if>


by: DeLyToO - SOS Invision