[TYPO3-german] Zwei Templates in einer Typo3 Installation

Alexander Herrmann darignac at googlemail.com
Tue Oct 28 09:24:25 CET 2008


So spontan sehe ich da auch keinen. Die üblichen Dinge wie Cache
löschen usw. wirst du ja sicher gemacht haben.
Kannst vielleicht noch prüfen ob due die richitgen TS-Dateien
inkludierst im Template falls dein TSCode nicht direkt im Tepmplate
drin steht. Ansonsten weiß ich da leider auch keinen Rat weiter...

ciao
Alex

2008/10/28 Jochen Graf <graf at uni-landau.de>:
> Alexander Herrmann schrieb:
>> Na, wenn du es richtig gemacht hast, wird das nicht vererbt. Du kannst
>> das im Template Analyzer aber prüfen.
>> Ich würde vermuten dass beide Templates dieselbe TS-Config haben und
>> du deswegen bei beiden dasselbe siehst - prüf das mal bitte.
>>
>> ciao
>> Alex
>>
>> On Tue, Oct 28, 2008 at 8:46 AM, Jochen Graf <graf at uni-landau.de> wrote:
>>
>>> Hallo,
>>>
>>> ich möchte in einer Typo3 Installation zwei Mastertemplates anlegen,
>>> das erste Template ist das original und das zweite zum Testen.
>>>
>>> Also legte ich mir unterhalb von root zwei Seiten. Jede Seite hat ein
>>> eigenes Mastertemplate
>>>
>>> http://www.wulv.uni-landau.de/fileadmin/templates.JPG
>>>
>>> Doch beim Aufruf der Startseite bekomme ich den Baum
>>> www.wulv.uni-landau.de angezeigt?
>>>
>>> Weshalb wird das obere Template auf das untere vererbt ?
>>>
>>> --
>>> Mit freundlichen Grüssen
>>>
>>> Jochen Graf
>>>
>>> Universität Koblenz-Landau / Campus Landau
>>> Arbeitstelle Multimedia/Technik-Administration
>>>
>>> Thomas-Nast-Str. 44
>>> 76829 Landau
>>>
>>> mail: graf at uni-landau.de
>>> fon: 06341-990-224
>>> web:http://www.paeps.uni-landau.de
>>> web:http://www.bite.uni-landau.de
>>>
>>> _______________________________________________
>>> TYPO3-german mailing list
>>> TYPO3-german at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>>>
>>>
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>>
>>
>>
> Hallo,
>
> im Template Analyzer ist alles in Ordnung, das Template wird richtig
> eingebunden.
>
> www.wulv.uni-landau.de
>
> http://www.wulv.uni-landau.de/fileadmin/wulv.JPG
>
>
> TEMPLATE
> # config.simulateStaticDocuments = 1  // geht nicht mit realurl
> ## Zeilenumbruch im H1 Feld
> lib.stdheader.10.setCurrent.br = 1
>
>
>
> page = PAGE
> page     {
>    meta.AUTHOR = Jochen Graf
>    meta.DESCRIPTION = jochens Typo3 test seiten
>    stylesheet = {$site_PAGE_stylesheet}
>    includeCSS.css2 = {$site_PAGE_content2}
>    includeCSS.css3 = {$site_PAGE_content3}
>    includeCSS.css4 = {$site_PAGE_content4}
>    includeCSS.css5 = {$site_PAGE_content5}
>    includeCSS.css6 = {$site_PAGE_content6}
>    #entfernt den Kommentar aus dem Quelltext
>    config.disablePrefixComment = 1
> }
>
>
> # Die Designvorlage integrieren - neu : einheitliche bezeichnungen
> page.10 = TEMPLATE
> page.10 {
>      template = FILE
>      template.file = {$site_PAGE_template}
>      workOnSubpart = DOKUMENT
>      marks.LOGO = IMAGE
>      marks.LOGO.file = {$site_PAGE_LOG0}
>      marks.INHALT < styles.content.get
>        marks.TOPNAVI < temp.Topnavigation
>      marks.SPALTENNAVI < temp.SPALTENNAVI
>        marks.FOOTERTEXT = TEXT
>    marks.FOOTERTEXT.value = {$site_FOOTER_TEXT}
> }
>
>
>
> [globalVar = TSFE:id = 36]
>    page.10.marks.SPALTENNAVI.excludeList = 36
> [global]
>
> #########################################################
>
>
>
>
> Zweites Template Startseite
>
> http://www.wulv.uni-landau.de/fileadmin/Startseite.JPG
>
>
>
>
> # Default PAGE object:
> page = PAGE
> page {
>
> config {
>    cache = 1
>    no_cache = 0
>    doctype = xhtml_trans
>    xhtml_cleaning = all
>    index_enable = 1
>    metaCharset = utf-8
>    additionalHeaders = Content-Type:text/html;charset=utf-8
>  }
>
>
>
>
> ## CSS Layout
> stylesheet = fileadmin/fileadmin/css/2spalter/layout_2col_left_vlines.css
> }
>
> # Die Designvorlage integrieren
> page.10 = TEMPLATE
> page.10 {
> template = FILE
> template.file = fileadmin/fileadmin/template/layout_2col_left_vlines.html
> workOnSubpart = DOKUMENT
> marks.SPALTE_MITTE < styles.content.get
> marks.SPALTE_LINKS < styles.content.getLeft
> marks.SPALTE_RECHTS < styles.content.getRight
>
> marks.RUNDEECKENNAVIGATION < temp.RUNDEECKENNAVIGATION
> marks.SPALTENNAVIGATION < temp.SPALTENNAVIGATION
> marks.SPALTENNAVIGATION_AWW < temp.SPALTENNAVIGATION_AWW
> marks.KLICKPFAD < temp.KLICKPFAD
> }
>
> # IE 6
> [browser = msie]&&[version = 7, <7]
> page.includeCSS.file =
> fileadmin/fileadmin/template/iehacks_2col_left_vlines.css
> [global]
>
>
>
> ### 2 Spalter ohne Topnavigation Standard Vorlage
> [globalVar=TSFE:page|layout=0]
> page.10.template.file =
> fileadmin/fileadmin/template/layout_2col_left_vlines.html
> [global]
>
> ### 3 Spalter ohne Topnavigation
> [globalVar=TSFE:page|layout=1]
> page.10.template.file = fileadmin/template/layout_3col_fixed.html
> page.stylesheet = fileadmin/fileadmin/template/layout_3col_fixed.css
> [global]
>
>
> ### 2 Spalter Forum
> [globalVar=TSFE:page|layout=2]
> page.10.template.file = fileadmin/template/forum.html
> page.stylesheet =
> fileadmin/fileadmin/template/2spalterForum/layout_2col_left_vlines.css
> [global]
>
> ### Runde Ecken
> [globalVar=TSFE:page|layout=3]
> page.10.template.file = fileadmin/template/rundeecken.html
> page.stylesheet = fileadmin/fileadmin/template/layout_2col_left_vlines.css
> [global]
>
>
>
>
> ### Slideshow einbinden
> #marks.SLIDESHOW = COA
> #marks.SLIDESHOW.10 = TEXT
> #marks.SLIDESHOW.10.value = <img class="start"
> src="http://typo1.uni-landau.de/fileadmin/slideshow/image-001.jpg" />
> ### End Slideshow
> ### Slideshow einbinden ###
> #headerData = COA
> #headerData.11 = TEXT
> #headerData.11.value = <script type="text/javascript"
> src="fileadmin/scripts/slideshow.js"></script>
> ####
>
> ##################################################################################
>
>
>
> Ich finde da keinen Fehler
>
>
> -
>
> Mit freundlichen Grüssen
>
> Jochen Graf
>
> Universität Koblenz-Landau / Campus Landau
> Arbeitstelle Multimedia/Technik-Administration
>
> Thomas-Nast-Str. 44
> 76829 Landau
>
> mail: graf at uni-landau.de
> fon: 06341-990-224
> web:http://www.paeps.uni-landau.de
> web:http://www.bite.uni-landau.de
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>


More information about the TYPO3-german mailing list