SimplePortal

Customization => Themes and Graphics => Topic started by: faith on August 21, 2009, 08:24:41 AM

Title: Forum Button!
Post 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
Title: Re: Forum Button!
Post by: 130860 on August 21, 2009, 11:04:49 AM
ok, try this one!

this is the forum botton part:

Code: [Select]
// 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!
Title: Re: Forum Button!
Post by: faith on August 21, 2009, 11:12:28 AM
Works perfectly, thank you ever so much.

Faith
SimplePortal 2.3.8 © 2008-2024, SimplePortal