Zum Inhalt springen

Fluid Templating - Kein Inhalt auf Webseite

Erstellt am 25. Juni 2014 · 2 Antworten · letzte Antwort am 30. Juni 2014

Tags: Fluid, Frage

wmcig ·

Ich nutze Typo3 6.2.3 und habe angefangen eine Webseite zu bearbeiten. Darin nutze ich den Code "<f:format.raw>{content}</f:format.raw>", um den Inhalt anzuzeigen. Aber dieser wird nicht angezeigt.

Eine Anfangskonfiguration ist:

# Create and configure our site
page = PAGE
page.typeNum = 0
page.meta.DESCRIPTION = 
page.meta.KEYWORDS = 

# Create a Fluid Template
page.10 = FLUIDTEMPLATE
page.10 {
  // bedingung
stdWrap.if {
value = 2
isInList.data = levelfield:-1,backend_layout_next_level,slide
isInList.override.data = TSFE:page|backend_layout
}
   file = fileadmin/nova/index.html
  # Set the Template Pathes
  partialRootPath = fileadmin/templates/partials/
  layoutRootPath = fileadmin/templates/layouts/
  variables {
    # Assign the main column with our {content}-destination
    content < styles.content.get
    # Assign the left column with our {content_left}-destination
    content_left < styles.content.get
    content_left.select.where = colPos = 1
    # Assign the right column with our {content_right}-destination
    content_right < styles.content.get
    content_right.select.where = colPos = 2
  }
}

css_styled_content ist aktiviert.

Keine Ahnung warum der Inhalt nicht angezeigt wird.

Anweisungen, die per Typoscript kommen, werden allerdings angezeigt.

freeatweb ·

du hast den Template-Path vergessen.

       template = FILE
          template.file = {$templatePath}templates/template.html
          partialRootPath = {$templatePath}templates/partials/
          layoutRootPath = {$templatePath}templates/layouts/
          variables {
            content < styles.content.get
	    content_left < styles.content.getLeft
            content_right < styles.content.getRight
          }
wmcig ·

Jetzt bekomme ich folgenden Fehler angezeigt, im FE:

#1294587218: No TypoScript template found! (More information)

TYPO3\CMS\Core\Error\Http\ServiceUnavailableException thrown in file
/homepages/32/htdocs/cms/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php in line 2615.

Was soll das Typo3 6.2?????

Ich habe ein Typoscript Teamplate bereits angelegt. Auch habe ich es wieder gelöscht und wieder erneut angelegt!