Simple Machines Community Forum

SMF Support => Language Specific Support => Hilfe zu SMF (German) => Aiheen aloitti: photo - kesäkuu 20, 2007, 02:43:41 AP

Otsikko: Mit Custom Action 2-04 keine Impressum Seite?
Kirjoitti: photo - kesäkuu 20, 2007, 02:43:41 AP
Hallo

Habe das Mod Custom Action ein mein Theme Aero eingefügt.
Unter Custom Action dann den html Code eingegeben. Wenn ich dann unter Custom Action Settings
got to page aufrufe, dann wird die Immpressum Seite tadellos angezeigt.

Habe in der index.template.php folgenden Code eingefügt

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


Der Button wird auch in der Indexleiste angezeigt.
Aber wenn ich diesen anklicke, lande ich wieder auf der Startseite.
Was ist da Falsch?
Welche Datei muß ich bearbeiten, und wie?

Danke für eine Antwort..

Gruß
Otsikko: Re: Mit Custom Action 2-04 keine Impressum Seite?
Kirjoitti: Lemming - kesäkuu 20, 2007, 08:40:27 AP
Hm, könnten wir mal die Impressumsseite sehen?
Otsikko: Re: Mit Custom Action 2-04 keine Impressum Seite?
Kirjoitti: photo - kesäkuu 21, 2007, 01:11:57 AP
Hallo Lemming

Ich kann die Impressum Seite nicht zeigen da ich diese nur im Administrationsbereich unter Forum Einstellungen Vustom Action aufrufen
kann. Da funktioniert die Seite. Also muß ich bestimmt an der Index.php
oder der Idex.german.php oder Index.template.php was eintragen.
Oder?

Gruß