SimplePortal

Customization => Themes and Graphics => Topic started by: MortiferousGr on September 09, 2009, 05:00:20 PM

Title: Adding Forum button to SP 2.3 Portal,Theme=AsKervani (Love)
Post by: MortiferousGr on September 09, 2009, 05:00:20 PM
Greetings to all for one more time!  ;)
I think i must ask for your help once more.
Whatever i tried, couldnt get forum button to appear in the place of help.I followed the particular forum topic about this problem but i ended up with an error.
Any help appreciated! :)

My SMF is 1.1.10
My SimplePortal is 2.3

I attach the index.template.php
Title: Re: Adding Forum button to SP 2.3 Portal,Theme=AsKervani (Love)
Post by: cme1st2302 on September 09, 2009, 06:21:25 PM
Try the attached file and see if it works for ya.  Make sure you create a backup of the old one first.

Chris
Title: Re: Adding Forum button to SP 2.3 Portal,Theme=AsKervani (Love)
Post by: MortiferousGr on September 10, 2009, 03:41:38 AM
Thanks that did it! Awesome work!Great support of the simpleportal project!
I wonder if you could send me a txt with the changes.I am a newbie with php but i think that if i saw the changes i will get a hold of it.
Title: Re: Adding Forum button to SP 2.3 Portal,Theme=AsKervani (Love)
Post by: Nathaniel on September 10, 2009, 04:13:49 AM
This was the edit he did:
Code: ("Find") [Select]
    // Show the [help] button.
        echo '<li><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>';

Code: ("Replace") [Select]
    // Show the [forum] button.
        echo '<li><a href="', $scripturl, '?action=forum">' , "Forum" , '</a></li>';

Looks like you don't have a help button anymore though, you may want to copy the first code box above, and then post it back into your file (under the code in the 2nd box above).
Title: Re: Adding Forum button to SP 2.3 Portal,Theme=AsKervani (Love)
Post by: MortiferousGr on September 10, 2009, 11:59:01 AM
Thanks Nathaniel! Keep up the good work!
SimplePortal 2.3.8 © 2008-2024, SimplePortal