Login  Register

Re: Possible to add forums and subforums and customizable icons?

Posted by 1j1 on Jun 06, 2014; 10:51pm
URL: https://support.nabble.com/Possible-to-add-forums-and-subforums-and-customizable-icons-tp7590413p7590416.html

If you mean to replace default folder pics for subcategories with your own pics then you go to subcategories_column macro & edit the line:
<td class="[n.column_default_border/]" style="width:1em"> 
                 <n.if.current_node.is_app > 
                     <then><img src="[link to image]" width="??" height="??"/></then> 
                     <else><img src="/images/thread.png" width="25" height="23"/></else>
and/or in pin_column macro:
 <n.if.is_app>
<then>              <n.if.is_pinned_in_loop> 
                                 <then><img src="[link to image]" width="??" height="??" title="[t]Pinned sub-forum[/t]" alt="[t]Pinned sub-forum[/t]"/></then> 
                                 <else><img src="[link to image]" width="??" height="??" title="[t]Floating sub-forum[/t]" alt="[t]Floating sub-forum[/t]"/></else> 
                             </n.if.is_pinned_in_loop>