Need to add button for "wiki.gforumx.com"

Started by Dragooon, May 13, 2007, 09:38:35 AM

Previous topic - Next topic

Dragooon

I need to add a tab for "wiki.gforumx.com"
With the text as Wiki can any1 please tell me how to do it?

metallica48423

http://docs.simplemachines.org/index.php?topic=564.msg927#msg927

You'll need to do it for each theme you utilize.  just copy one of the existing blocks and edit it as necessary
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Dragooon

Thanks for support or atleast a try but.....
It doesent work.
I know that method and I have used it for adding 3 tabs but this time the case is different.
It is not like www.gforumx.com/index.php?action=<something>
it is wiki.gforumx.com
and that is what I want

Dragooon

ok i finally did it.
I added the Wiki button in all of my 6 themes lol.
Here is how I did it.
I used the following codes for the following themes.

// the [Wiki] button
      echo '<a href="http://wiki.gforumx.com"><font color="#FFFFFF">' , Wiki , '</font></a> :: ';

For Pirates Theme


        // Show the [Wiki] button.
echo '<li><a href="http://wiki.gforumx.com"><span>'.Wiki.'</span></a></li>';

For Black n Black theme,Blood n Roses,Xcaliber theme and orange lt07 theme

// Show the [Wiki] button for all visitors
echo ($current_action=='' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td  class="maintab_' , $current_action == 'custom' ? 'active_back' : 'back' , '">
<a href="http://wiki.gforumx.com">' , 'Wiki' , '</a>
</td>' , $current_action == '' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

For Enterprise Theme

And also this thread:
http://www.simplemachines.org/community/index.php?topic=155726.0
Helped me a lot

metallica48423

the problem is, many themes are different :P So all i can really assist with is getting the basic idea going :P
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Dragooon

Yah I can understand it but first time search worked for me I got that article on 50th page lol

Advertisement: