Hi there,
After some hack attack i lost the tiny portal and i re-install it, but i cant see the Forum button next to Home button.
Is that easy to add it manual through index.template.php ..?
Thanks :)
Depends on what version of SMF you are using, and what theme you are using.
Hi IchBin,
SMF 1.1.8/ Default theme
TinyPortal v1.0 beta 4
Actually i fount this code and i add it,
// Show the [forum] button.
echo ($current_action == 'forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'forum' ? 'active_back' : 'back' , '">
[<a href="', $scripturl, '?action=forum">' , $txt[forum] ='Forum' , '</a>
</td>' , $current_action == 'forum' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
but that print 1 more character in forum text link. See below:
I look in code but i cant find where is this unnecessary Bracket..
Change this part of your code:
[<a href="', $scripturl, '?action=forum">' , $txt[forum] ='Forum' , '</a>
to this:
<a href="', $scripturl, '?action=forum">Forum</a>
Works !! thanks man !! You are master. O0 O0 O0
Topic Solved :)