Recent Topics

Members
Stats
  • Total Posts: 10,749
  • Total Topics: 1,374
  • Online today: 249
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 225
Total: 225

Adding a "FORUM" menu tab to Flagrant, SMF 1.1.14

Started by NCSurfer, Jun 16, 11, 11:45:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NCSurfer

I was able to duplicate the "HELP" menu tab but and assign the correct link to the tab but can not get the tab name to change from HELP to FORUM.

I tried a search but nothing comes up when I do. Sorry if this has been answered many times before.

Also want to thank Crip for making another great theme. We have gone from Rudra to Flagrant.

Thanks for any assistance.

Henry

Crip

I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

NCSurfer


Crip

add your button / link to Forum: ', tp-forum, '

that should work , lettme know
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

NCSurfer

Here is what is showing up now....



This is the bit of code I changed....



and...


Crip

Add this :

if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum')))


Add your Forum button Like :

            // Show the [forum] button.
               echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="', $scripturl, '?action=forum"><span>Forum</span></a></li>';


[attachment deleted by admin]
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

NCSurfer

Worked like a charm, thanks so much Crip.

Have a great weekend.

Henry

Crip

I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.