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: 1031
  • 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!

Forum Button

Started by gamerx, June 01, 2009, 07:37:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gamerx

hi, well i got this code

Quote// Show the [forum] button.
   echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '' : '' , '
            <li class="nav_' , $current_action == 'help' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=forum">' , $txt[119] , '</a>
            </li><li class="nav_div">&nbsp;</li>';

im editin the "Help" button to make other1 called "Forum".
i get the button but the text still says "Help" i want it to display
the text "Forum"

gamerx

lol damn nevermind i just foundout how to xD

ccbtimewiz

Just change the word 'help' there, and then replace ' , $txt[119] , ' with the text you want.

xxnine

#3
Code (Find) Select
   // Show the [forum] button.
   echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '' : '' , '
            <li class="nav_' , $current_action == 'forum' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=forum">' , $txt[119] , '</a>
            </li><li class="nav_div">&nbsp;</li>';

if You Want to Write Forum Do This;
Code (Replace :)) Select
   // Show the [forum] button.
   echo ($current_action == 'forum' || $context['browser']['is_ie4']) ? '' : '' , '
            <li class="nav_' , $current_action == 'help' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=forum">Forum</a>
            </li><li class="nav_div">&nbsp;</li>';

or Write Community Do This
Code (Replace :)) Select
   // Show the [forum] button.
   echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '' : '' , '
            <li class="nav_' , $current_action == 'help' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=forum">Community</a>
            </li><li class="nav_div">&nbsp;</li>';

ccbtimewiz

Make sure to also alter the 'help' word in $current_action, xxnine.

xxnine

Quote from: ccbtimewiz on June 02, 2009, 01:19:48 PM
Make sure to also alter the 'help' word in $current_action, xxnine.

I Forgot it sorry for it :(