TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 1,031
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 248
  • Total: 248

Menüs im Header erweitern...

Started by Netsnoop, August 11, 2006, 05:26:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Netsnoop

Nabend,


ich habe SMF 1.1 RC2 und TinyPortal installiert und möchte nun im Standard Theme vom SMF das Menü oben erweitern.

Kann mir jemand sagen wo und wie ich das machen kann?

Ich habe in der index.template.php folgendes gefunden, hier zum Beispiel für die Suche...

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';




MfG Netsnoop

Klozi

Hi.

Ich habe hier mal ein Beispiel mit einen Google-Button erstellt:

// Show the [google] button.
echo '
<td valign="top" class="maintab_' , $current_action == '' ? 'active_back' : 'back' , '">
<a href="http://google.de" target="_blank">Google</a>
</td>';


Wenn du TinyPortal deinstallierst, kann es jedoch gut möglich sein, dass es zu Fehlern kommt.

Netsnoop

Dankeschön Klozi  :up:  ;D  -> funktioniert einwandfrei  :up:


MfG Netsnoop

Klozi

Auf eine so schnelle Antwort bin ich ganz erlich, etwas verwundert. :>

Netsnoop


Du wirst es kaum glauben aber das war echt Zufall  ;D


MfG Netsnoop

This website is proudly hosted on Crocweb Cloud Website Hosting.