Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 1171
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

two forum buttons on page

Started by ScottDB, July 30, 2009, 11:48:36 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

ScottDB

Finally got this to work but now I have two forum buttons. The other is the help and it does show the help page but the tab show forum. Here is a pic. and template. Can someone tell me where the problem is. Trying to learn this stuff and I have the same problem on another theme as well.
Thank you,
Scott

ccbtimewiz

Thanks for choosing Simple Portal.

Are you sure that is the correct index.template.php file from that theme? Because I could only find one forum button.

ScottDB

I'm fairly sure that this is the right index.template file. I have the same problem in another theme as well that I know is the right one. I will attach it.
Thank you,
Scott

ccbtimewiz

Haha, I see what you did there.

Find:
// Show the [forum] button.
echo '
<td  align="center"><a href="', $scripturl, '?action=forum">' , $txt['sp-forum'] , '</a></td>';

// Show the [help] button.
echo '
<td  align="center"><a href="', $scripturl, '?action=help">' , $txt['sp-forum'] , '</a></td>';


Replace with:
// Show the [forum] button.
echo '
<td  align="center"><a href="', $scripturl, '?action=forum">' , $txt['sp-forum'] , '</a></td>';

// Show the [help] button.
echo '
<td  align="center"><a href="', $scripturl, '?action=help">Help</a></td>';

ScottDB

Thanks so much. That did it. I really don't know how I did that on two themes.
Thank you,
Scott