SimplePortal
Customization => Themes and Graphics => Topic started by: faith on August 21, 2009, 08:24:41 AM
-
Hey.
Ive been pulling my hair out of the last few hours trying to add the forum button to the theme I have, and to no avail have been able to get it to work, or even get the help one to change to forum.. I was wondering if anyone would be able to take a look at my index.template and make the changes for me..
Attached:index.template
Thanks in advance
Ben
-
ok, try this one!
this is the forum botton part:
// Show the [forum] button.
global $modSettings;
if (in_array($modSettings['sp_portal_mode'], array(1, 3)))
echo '<li', $current_action=='forum' ? ' id="active"' : '', '><a href="', $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''), '">', empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'], '</a></li>';
I already did all the necessary changes :thumbsup:
greetings!
-
Works perfectly, thank you ever so much.
Faith