[TYPO3-german] Trotz Tausch des Templates Marker im Frontend

Christian Wolff chris at connye.com
Mon May 23 11:22:43 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 22.05.2011 11:33, schrieb "Ingo Preuß":
> Moin,
> das PAGE-Objekt sieht wie folgt aus:
> 
> [PIDinRootline=2,3]
> 
> ### Page Object
> page = PAGE
> page {
>   typeNum = 0
> 
>   #Layout CSS
>   includeCSS.10 = fileadmin/css/style-main-ff.css
> 
> 
>   10 = TEMPLATE
>   10 {
>     template = FILE
>     template.file = fileadmin/template/layout-2.html
>     workOnSubpart = DOCUMENT
> 
>     marks {
> 
>       NAVITOP < lib.naviTop
>       NAVIMAIN < lib.naviMain
> 
>       HEADLINESMALL < lib.headlineSmall
> 
>       NAVISUB_1 < lib.naviSub_1
> 
>       HEADLINEBOLD < lib.headlineBold
> 
>       HEADERIMAGE_1 < lib.headerImage_1
>       HEADERIMAGE_2 < lib.headerImage_2
> 
>       NAVISUB_2 < lib.naviSub_2
> 
>       CONTENT = CONTENT
>       CONTENT {
>         table = tt_content
>         select {
>           where = colPos = 0
>           orderBy = sorting
>           languageField = sys_language_uid
>         }
>       }
> 
>     }
>   }
> }
> [end]
> 
> Ein Seitenzweig braucht ein anderes Template, da hier bestimmte Marker
> nicht erscheinen sollen:
> 
> [PIDinRootline=2]
> page.20.template.file = fileadmin/template/anderes-template.html
> [end]
> 
> Dennoch werden die in 'anderes-template.html' nicht mehr vorhandenen
> Marker im Frontend ausgegeben. Wo liegt der Fehler?
> 
> Gruß, Ingo
> 
Hi Ingo,

[PIDinRootline=2]
page.10.template.file = fileadmin/template/anderes-template.html
[end]

du hattest in deiner condition page.20 stehen damit tauscht du natürlich
nicht das orginal template aus.

gruss chris


> 
> ----------------------
> 
> Ingo Preuss
> Rigaer Strasse 65
> 10247 Berlin
> 
> 0163.160 51 03
> 
> 


- -- 
Christian Wolff // Berlin
http://www.connye.com

some projects:
http://richtermediagroup.com | http://titanic.de | http://keyopinions.info
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iEYEARECAAYFAk3aJ2MACgkQIcCaXPh/JHGZHgCdGZNK/2fM/RZHqE+1b80eXDAb
h34AoOM0n+hGPWScgNTjsxITX0Miwl58
=Rk/G
-----END PGP SIGNATURE-----


More information about the TYPO3-german mailing list