[TYPO3-german] backend layout und FE verknüpfung in 6.2 harzt

Stefan Kaufmann kaufmann at dwwd.ch
Mon Sep 8 21:00:08 CEST 2014


Hi,
Zuesrt tagelang gesucht und nun innert Minuten die Lösung gefunden.

Ich habe die backend layouts den fluid templates nicht korrekt 
zugewiesen gehabt.  Mit

## Assign the Template files with the Fluid Backend-Template
page.10.file.stdWrap.cObject = CASE
page.10.file.stdWrap.cObject {
   key.data = levelfield:-1, backend_layout_next_level, slide
   key.override.field = backend_layout

   # Default Template
   default = TEXT
   default.value = 
{$resourceDir}/Fluidtemplates/templates/defaultTemplate.html

   # Standard
   5 < .default

   # Home
   6 = TEXT
   6.value = {$resourceDir}/Fluidtemplates/templates/homeTemplate.html

}

hat sich das Problem erledigt. 5 enspricht dem einen backendlayout, 6 
dem zweiten layout.

Beste Grüsse
Stefan

On 8/September/2014 8:37 PM, Stefan Kaufmann wrote:
> Hallo,
>
> Ich habe ein Problem mit den backend layouts in TYPO3 6.2. Vielleicht
> kann jemand helfen.
>
> Meine Installation zeigt immer nur das eine backend layout (im FE) an.
> Im BE kann problemlos umgeschaltet werden. Es werden auch alle Spalten
> angezeigt...Das eine layout wird im FE aber nicht übernommen.
>
> Folgendes TS beschreibt die backend layouts:
>
> ####### content elements #######
>
> page.10 = FLUIDTEMPLATE
> page.10 {
> ## Set the template path
> partialRootPath = {$resourceDir}/Fluidtemplates/partials/
> layoutRootPath = {$resourceDir}/Fluidtemplates/layouts/
> variables {
>      contentMain < styles.content.get
>      contentTop < styles.content.get
>      contentTop {
>          select.where = colPos = 1
>          }
>      contentAside < styles.content.get
>      contentAside {
>          select.where = colPos = 2
>      }
>      ## 3 Boxes for home page
>      contentBox1 < styles.content.get
>      contentBox1 {
>          select.where = colPos = 10
>          stdWrap.required = 1
>          stdWrap.wrap = <div class="col-md-4">|</div>
>      }
>      contentBox2 < .contentBox1
>      contentBox2 {
>          select.where = colPos = 11
>      }
>      contentBox3 < .contentBox1
>      contentBox3 {
>          select.where = colPos = 12
>      }
>      languageMenu = TEXT
>      languageMenu.value = {$langMenu}
>      }
> }
> ####### end content elements #######
>
>
> Weiss jemand woran die Umschaltung scheitern könnte?
>
> Grüsse,
> Stefan



More information about the TYPO3-german mailing list