SimplePortal
Customization => Themes and Graphics => Topic started by: Giiyom on April 14, 2009, 10:18:28 PM
-
Hello,
I tried to copy everything showed in the tutorial but I don't know why the Forum Button just won't show up.
I'm using Outline115 Theme by DzinerStudio.
SMF 1.1.8
SimplePortal 2.2
I'm also using French-UTF8
Can anyone help me please and tell me what I did wrong?
I attached my index.template
Thanks in advance! ;)
-
try this one :D
-
Still not working :(
Maybe it has something to do with my language pack?
edit: Tried with the english pack and it's not working either.
-
could you post a link to your forum please ;)
also if you think is a language problem then you could do this:
in your index.template file around line 404 search for this:
// Show the [forum] button.
if (in_array($modSettings['sp_portal_mode'], array(1, 3)))
echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="', $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''), '"><span>', empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'], '</span></a></li>';
and replace with this:
// Show the [forum] button.
if (in_array($modSettings['sp_portal_mode'], array(1, 3)))
echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="', $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''), '"><span>"FORUM"</span></a></li>';
you can change the "FORUM" for whatever you want.
-
I doubt it's a language problem cuz I tried with the english pack and it didn't work. :(
But ill try what u said and get back to u. Thx
-
Nop... :(
Nothing has changed :/
Here's the address of my website : www.quebecstreetfighter.com (http://www.quebecstreetfighter.com)
The version 2.0 is up so you take a look at it.
And If you want I'm willing to give you an access so you can check what could be wrong. Just send me a PM.
Thx again.
-
It wasn't a language string issue, one of the edits hadn't been applied correctly. The code "global $modSettings" was squished with the line before meaning that it was commented out.
The attached file should work.
-
It wasn't a language string issue, one of the edits hadn't been applied correctly. The code "global $modSettings" was squished with the line before meaning that it was commented out.
The attached file should work.
mmm I didnt see that :-[ :-[ :-[
sorry :-[
-
Damn.. huge thanks LHVWB, it's working perfect now :)
Thanks to you guys who helped me with this. Really great support. And np mirahalo :P
I gotta say SimplePortal is an amazing mod, that's exactly what I always wanted.
Cheers and keep up the good work! :D
-
Does this seem to be an issue with most themes? I get this on most of the themes that I have tried and wandered how to modify the settings to correct the issue...
using
smf 1.1.10
sp 2.3.1
DB_Theme
Thanks
-
unfortunately SimplePortal has to make two simple changes in a custom theme in order to use it on a 1.1.x smf version, try this one ;)
-
THANK YOU so much!!!!! it worked great.....Thank you to all that help others on here....
Thanks again