Jump to content

Instalar la Barra Separadora de temas importantes


Recommended Posts

Me gustaria sugerir eso, que instalen esta barrita, les dejo el codigo:

 

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

Buscan:

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

 

y lo reemplazan por:

<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">Temas Importantes</if><if test="$this->hasPinned=0">Temas</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>'>
Temas
</th>
</tr>
</if>
</if>

 

PD: No importa el skin que ocupen, se adapta sola.

Edited by ProSkill
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...