TinyPortal
Development => Support => Topic started by: elliel on February 01, 2007, 10:43:56 PM
hi
I would like my 'home' tab on tiny portal to say 'welcome' instead of 'home'
I looked at the index template but don't know which instances of the word 'home' I should change as I'm not a coder and don't know the implications.
here is the part of the index template I think I have to change:
Quote// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
if($settings['TPortal_front_type']!='boardindex')
// Show the [forum] button.
can someone please tell me which of all these 'homes' I have to change to get the tab to say welcome but still take you to the tiny portal home page?
~thanks
Change
$txt['tp-home'] = 'Home';
in Themes/default/languages/TPortal.english.php
whoops, so I dont change anything in the index template at all? wow I'm glad I asked - thanks
hmm ok I changed it in lang file but it hasnt changed anything?
Try changing
$txt[103] = 'Home';
in
in Themes/default/languages/index.english.php
Sorry. I didn't look at the code and assumed that it was a TP file that was being used.
cool, thanks that did it :)