Zum Inhalt springen

Setup/Constants werden teilw. im Rootlevel nicht übernommen

Erstellt am 23. Oktober 2003 · Noch keine Antworten

Tags: Frage

sw-student ·

Hallo zusammen,

leider plage ich mich an diesem Morgen wieder mit einem Problem herum: Habe eine Template mit gesetztem Rootlevel in Ebene 0. Dann folgt ein Template in Ebene 1 und mehrere Templates in Ebene 2. Bei diesen ist ebenfalls Rootlevel gesetzt, Clear: Constants/Setup deaktiviert. Wie kann es sein, dass z.B. das Menü in diesen Templates übernommen wird, andere Teile wie Formatierungen wiederum nicht?

Folgender Code wird z.B. in Templates höheren Ebenen einfach verschluckt:

### USERS ONLINE ###
plugin.tx_khusersonline_pi1 {
  # To get this plugin working just type in your
  # template 'page.10 =< plugin.tx_khusersonline_pi1'.
 
  # In 'text' and 'text.lang.xx' you can use
  # ###GUESTS###, ###MEMBERS###, ###ALLUSERS###
  # and ###USERTEXT###.

  text (
    <p align="center">
    <font size="1" color="#000000">
     There ###IS### ###GUESTS### ###GUEST###<br>
     and ###MEMBERS### ###MEMBER### </font>
    <font color="#009933">online</font>
    </p>
   )

  text.lang.de (
    <p align="center">
    <font size="1" color="#000000">
      Es ###IS### ###GUESTS### ###GUEST###<br>
      und ###MEMBERS### ###MEMBER### </font>
    <font color="#009933">online</font>
    </p>
   )

  userText {
    guests = You are an anonymous user
    guests.lang.de = Sie sind ein anonymer Benutzer
    
    # In 'members' and 'members.lang.xx' you can use
    # ###LOGINNAME###.
    members = You are logged in as <b>###LOGINNAME###</b>
    members.lang.de = Benutzer: ###LOGINNAME###
  }
 
  wordArray {
    guests {
      GUEST = guest|guests
      GUEST.lang.de = Gast|Gäste
      IS = is|are
      IS.lang.de = ist|sind
    }
    members {
      MEMBER = member|members
      MEMBER.lang.de = Mitglied|Mitglieder
    }
    #allusers {
    #USER = Visitor|Visitors
    #USER.lang.de = Besucher|Besucher
    }
  }
  
  timeout = 5
}

# Filelinks
tt_content.uploads.20.1.tableStyle.border = 0
tt_content.uploads.20.1.tableStyle.color.1 = #FFFFFF
tt_content.uploads.20.1.tableStyle.color.2 = #FFFFFF
tt_content.uploads.20.default.tableStyle.color = #FFFFFF
tt_content.uploads.20.default.tableStyle.color.default = #FFFFFF
tt_content.uploads.20.default.tableStyle.cellpadding = 2

Gruß
Sw-Student