Jump to content
Sign in to follow this  
BomAle

Blocco sidebar con apertura nuove discussioni

Recommended Posts

BomAle

Sulla base di questa comodissima hook New Topic Button on Board Index 1.0.1 ho pensato di indicare come aggiungere un blocco specifico che permette di avere la lista di forum e cliccando manda in automatico all'apertura di un nuovo topic.

Aprire ACP > Look & Feel > Manage Skin Sets & Templates > Scegli la tua skin > Board Index > boardindextemplate

trovare:

<if test="sideBarEnabled2:|:$this->templateVars['sidebar_enabled']">  <div id='index_stats' class='ipsLayout_right clearfix' <if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>>


e sotto aggiungere:

<div class='ipsSideBlock clearfix'><h3>Apri un nuovo argomento o una discussione in una di queste sezioni</h3><div class='_sbcollapsable'>  <ul class='ipsList_inline'>  <if test="cats_forums:|:is_array( $cat_data ) AND count( $cat_data )"><foreach loop="$cat_data as $_data"><if test="cat_has_forums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )"><foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">   <h4><img src="{style_images_url}/icon_chat.png"><a href="{$this->settings['board_url']}/index.php?app=forums&module=post&section=post&do=new_post&f={$forum_data['id']}" seotitle="Apri nuova discussione in {$forum_data['name_seo']}" template="showforum" base="public"}" title='Apri nuova discussione in {$forum_data['name_seo']}'>{$forum_data['name']}</a></h4></foreach></if></foreach></if>  </ul></div></div>


gallery_1_2_29375.jpg

Inviato da najaru

Share this post


Link to post
Share on other sites
flash_007

ciao scusa non trovo queste informazione nel mio skin

Board Index > boardindextemplate

grazie trovato

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Crea Nuovo...

Important Information

By using this site, you agree to our Terms of Use.