SimplePortal

Support => Install and Upgrade => Topic started by: youngie on April 03, 2009, 09:24:55 AM

Title: Help...?
Post by: youngie on April 03, 2009, 09:24:55 AM
Quick couple of questions on the new upgrade (Awesome BTW!)

Code: [Select]
// Show the [home] button.
echo '<li><a href="', $scripturl, '">' , $txt[103] , '</a></li>';

        //the [forum] button
        if(!empty($context['portalactive']))
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'forum' ? 'current' : '' , '"><a href="', $scripturl, '?action=forum">' , $txt['sp-forum'] , '</a></li>';

How would I adapt the above - I have altered all the other bits as per the manual install instructions?


Will fixing the index.template file fix both issues?

I have attached my index.template.php file
Title: Re: Help...?
Post by: [SiNaN] on April 03, 2009, 09:32:15 AM
Your file is attached.

If you want to make it display forum in the linktree again, do this:

Sources/SPortal1-1.php

Find:

Code: [Select]
'name' => $context['forum_name'],
Replace:

Code: [Select]
'name' => !empty($txt['sp-forum']) ? $txt['sp-forum'] : 'Forum',
Title: Re: Help...?
Post by: youngie on April 03, 2009, 12:31:11 PM
Cheers bro!

Where did you get the site smileys from - I loves them - is it a package on SMF site?
Title: Re: Help...?
Post by: Nathaniel on April 03, 2009, 08:20:02 PM
About the Smileys, see the topic below:
http://simpleportal.net/index.php?topic=603.msg8004#msg8004

Marked as solved.
SimplePortal 2.3.8 © 2008-2024, SimplePortal