Zum Inhalt springen

Keine Anzeige

Erstellt am 17. Oktober 2008 · 6 Antworten · letzte Antwort am 17. Oktober 2008

Tags: Inhaltselemente, Frage

mbuchegger ·

Hallo Leute!

Hab ein größeres Problem mit meinem Typo3-Projekt.
Ich hab alle Dateien auf den Server geladen und Typo3 hat sich ohne Probleme installieren lassen.

Nur wenn ich dann ein Template schreibe zeigt er mir nichts an.
Lustigerweise ist auch dann im Quelltext nichts im BODY. Was mich sehr irritiert. Aber die Dateipfade sind 100%ig richtig.

Das is der SETUP-Code:

#Sprachfestlegung:
     linkVars = L
     config.sys_language_uid = 0
     config.language = de
     config.locale_all = de_DE.UTF-8
     htmlTag_langKey = de-DE
     xml:lang="de" lang="de"

# Default PAGE object:
page = PAGE
page.headerData.100 < plugin.tx_kestats_pi1
page.meta {
    keywords.field = keywords
    keywords.ifEmpty (
         Gasthaus Dürnberg
    )
    description.field = description
    description.ifEmpty (
         Gasthaus Dürnberg
    )
    robots = INDEX,FOLLOW
    }
page.stylesheet = fileadmin/templates/styles.css
page.bodyTag =<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
page.shortcutIcon = fileadmin/templates/icon.ico
page.10 = TEMPLATE
page.10 {
   template = FILE
   template.file = fileadmin/templates/template.html
   workOnSubpart = DOKUMENT
   marks {

MENUE1 = HMENU
MENUE1.1 = TMENU
MENUE1.1.expAll = 1
MENUE1.1 {
   NO.allWrap =  |
   NO.ATagParams = class="menue1"
   NO.before = &nbsp;
   NO.after = &nbsp; |*| &nbsp; :: |*| &nbsp;
   NO.fontColor = #416A99
   }

MENUE2 = HMENU
MENUE2.entryLevel = 1
MENUE2.1 = TMENU
MENUE2.1.expAll = 1
MENUE2.1 {
   NO.allWrap =  |
   NO.ATagParams = class="menue2"
   NO.before = &nbsp;
   NO.after = &nbsp; | |*| &nbsp; | |*| &nbsp;
   NO.fontColor = #ffffff
   }

   INHALT = CONTENT
   INHALT {
      table = tt_content
      select.orderBy = sorting
      select.where = colPos = 0
   	 }

   BANNER1 < plugin.tx_ricrotation_pi1
   BANNER1 {
         placement=top
         mode=random
         pidList=18
         recursive=0
         image.file.maxW=170
         image.file.maxH=146
         }

   BANNER2 < plugin.tx_ricrotation_pi1
   BANNER2 {
         placement=top
         mode=random
         pidList=19
         recursive=0
         image.file.maxW=170
         image.file.maxH=146
         }

   BANNER3 < plugin.tx_ricrotation_pi1
   BANNER3 {
         placement=top
         mode=random
         pidList=20
         recursive=0
         image.file.maxW=170
         image.file.maxH=146
         }


         }
   	}

Hat jemand ne Idee warum das so ist?

cope ·

und wenn Du mal einen konstanten Text ausgibst?
so ala

page.20 = TEXT
page.20.value = Huhu

Wird sowas angezeigt?

LG
Cope

Michaelh74 ·

Stimmt der Pfad zum Template100%ig?
fileadmin/templates/template.html

Ruf einfach mal das Template so direkt auf Domain+/fileadmin/templates/template.html

Viele Grüße
Michael

mbuchegger ·

Also der Text wird angezeigt wenn ich das mit Typo schreib.

Und das mit dem Pfad hab ich schon so überprüft! 😉

*hilflosbin*