TinyPortal
Development => Support => Topic started by: Future on April 15, 2008, 12:03:11 AM
I think I'm missing the correct answer here after searching.
What I'm trying to do is get a tabbed button such as the Home, Forum, Admin, etc.. with a specified name. In this case it will be the website name linked to the main website home page.
Now so far I have 2 Home tabs, the first directs to the main website page and the 2nd directs to the forum home. These are working fine, However... I know it's the $txt[103] that is holding me down here, I simply can't figure out how to properly write this.
Here is how I have the code right now
Quote
// Show the [main] button.
echo ($current_action=='main' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'main' ? 'active_back' : 'back' , '">
' , $txt[103] , ' (http://websitenamehere)
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
I either need it to read as Main or the website name, what am I missing here :-\
Replace ' , $txt[103] , ' with your name that you need.
Yea, I did that last night when I figured out I was trying to edit the wrong theme's :2funny:
Thank you for the reply
Lets put the Solved icon to this topic then :)