SimplePortal
Support => Install and Upgrade => Topic started by: youngie on April 03, 2009, 09:24:55 AM
-
Quick couple of questions on the new upgrade (Awesome BTW!)
- How would I change my index.template for my custom theme as it uses tableless/pure css design e.g. <li> instead of <td>
// 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?
- When viewing my forum index it does not display 'Forum > Area > Area' in the breadcrumb trail - how would I change this - is this a custom theme issue? It used to say 'Forum > Area > Area before?' - view this link to see what I mean:
http://consoleninjas.co.uk/forum/index.php?action=forum
Will fixing the index.template file fix both issues?
I have attached my index.template.php file
-
Your file is attached.
If you want to make it display forum in the linktree again, do this:
Sources/SPortal1-1.php
Find:
'name' => $context['forum_name'],
Replace:
'name' => !empty($txt['sp-forum']) ? $txt['sp-forum'] : 'Forum',
-
Cheers bro!
Where did you get the site smileys from - I loves them - is it a package on SMF site?
-
About the Smileys, see the topic below:
http://simpleportal.net/index.php?topic=603.msg8004#msg8004
Marked as solved.