[Datug] TypeScript-Problem
m.uhl at mh-online.de
m.uhl at mh-online.de
Thu Sep 9 11:56:54 CEST 2004
Hoi Jan,
wie sieht denn dein fileadmin/dccc_tmpl/dccc_tmpl.html aus ?
Hast du ne URL ?
Mit freundlichen Grüßen
Mathias Uhl
Web-Technologien
m.uhl at mh-online.de
/-------------------------------------------------------------------\
| | |
| MH-Computersysteme | |
| IT-Dienstleistungen mit System | +IT-Beratung |
| | |
| Tel 06181-916060 | +Netzwerk-Infrastruktur |
| Fax 06181-9160620 | |
| info at mh-online.de | +Software-Entwicklung |
| | |
| http://www.mh-online.de/ | +Web-Technologien |
| | |
\-------------------------------------------------------------------/
-------- Original Message --------
Subject: [Datug] TypeScript-Problem (08-Sep-2004 21:46)
From: Jan.Nikolaus at t-online.de
To: m.uhl at mh-online.de
> Hallo,
>
> ich habe mal wieder ein kleines Problem. Irgendwie finde ich einfach den
> Fehler nicht. Dieses Script stammt in großen Zügen aus der Doku 'Moderne
> Templateerstellung' und ist an meine Bedürfnisse angepasst. Dennoch ist
> es zunächst nur ein Test-Script.
> Habe ich da was übersehen? Die produzierte Seite jedenfalls hat einen
> leeren Body und einen Standart-Header. Bei Bedarf kann ich auch die
> HTML-Datei nachsenden.
>
> # Configuring the Auto-Parser:
> plugin.tx_automaketemplate_pi1 {
> # Read the tmeplate file:
> content = FILE
> content.file = fileadmin/dccc_tmpl/dccc_tmpl.html
>
> # Here we define which elements in the HTML that
> # should be wraüüed in supart-comments:
> elements {
> BODY.all = 1
> BODY.all.subpartMarker = DOCUMENT_BODY
>
> HEAD.all = 1
> HEAD.all.subpartMarker = DOCUMENT_HEADER
> HEAD.rmTagSections = title
>
> TD.all = 1
> }
>
> # Prefix all relative paths with this value:
> relPathPrefix = fileadmin/dccc_tmpl/
> }
>
> # Main TEMPLATE cObject for the BODY
> temp.mainTemplate = TEMPLATE
> temp.mainTemplate {
> # Feeding the content from the Auto.parser to the TEMPLATE cObject:
> template =< plugin.tx_automaketemplate_pi1
> # Select only the content netween the <body>-tags
> workOnSubpart = DOCUMENT_BODY
>
> # Substitute the ###hmenu### subpart with some example content:
> subparts.hmenu = TEXT
> subparts.hmenu.value = HELLO WORLD - MENU
>
> # Substitute the ###content### subpart with some example content:
> subparts.content = TEXT
> subparts.content.value = HELLO WORLD - CONTENT
> }
>
> # Main TEMPLATE cObject for the HEAD
> temp.headTemplate = TEMPLATE
> temp.headTemplate {
> # Feeding the content from the Auto-parser to the TEMPLATE cObject:
> template =< plugin.tx_automaketemplate_pi1
> #Select only the content between the <head>-tags
> workOnSubpart = DOCUMENT_HEADER
> }
>
> # Default PAGE object:
>
> page = PAGE
> page.typeNum = 0
>
> # Copying the content from TEMPLATE for <body>-section:
> page.10 < temp.mainTemplate
>
> # Copying the content from TEMPLATE for <head>-section:
> page.headerData.10 < temp.headTemplate
>
>
>
> --
> mfG
> --
> Jan Nikolaus
> mailto:jan.nikolaus at t-online.de
> mailto:hq at tuxfreak.org
> http://www.tuxfreak.org
> _______________________________________________
> Datug mailing list
> Datug at datug.de
> http://lists.datug.de/cgi-bin/mailman/listinfo/datug
>
More information about the TYPO3-UG-darmstadt
mailing list