[TYPO3-UG Spain] TYPO3-UG-spain Digest, Vol 43, Issue 12
Leo Barrientos C
lbarrientos at opensistemas.com
Wed Jul 25 12:26:24 CEST 2007
Verifica que;:
a) Tienes la ext de autoparser instalada, pues al final pone page.10 =<
plugin.tx_automaketemplate_pi1
b) Que el archivo fileadmin/blackandgreen/index.html exista y tenga las
subpartes indicadas.
On Wed, 2007-07-25 at 12:00 +0200,
typo3-ug-spain-request at lists.netfielders.de wrote:
> Si, si lo intento pero, estoy en el siguiente punto del modern
> template tutorial, pero no con la plantilla, que proponen, si no con
> una que he sacado de owsd.org
>
> # Configuring the Auto-Parser:
> plugin.tx_automaketemplate_pi1 {
> # Read the template file:
> content = FILE
> content.file = fileadmin/blackandgreen/index.html
> # Here we define which elements in the HTML that
> # should be wrapped in subpart-comments:
> elements {
> BODY.all = 1
> BODY.all.subpartMarker = DOCUMENT_BODY
> HEAD.all = 1
> HEAD.all.subpartMarker = DOCUMENT_HEADER
> HEAD.rmTagSections = title
> DIV.all = 1
> UL.all = 1
> }
> # Prefix all relative paths with this value:
> relPathPrefix = fileadmin/blackandgreen/
> }
> # 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 between the <body>-tags
> workOnSubpart = DOCUMENT_BODY
> # Substitute the ###nav### subpart with some example content:
> subparts.navbar = TEXT
> subparts.navbar.value = HELLO WORLD - MENU
> # Substitute the ###content### subpart with some example content:
> subparts.maintext = TEXT
> subparts.maintext.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
> page.config.disableAllHeaderCode=1
> page.10 =< plugin.tx_automaketemplate_pi1
>
>
> Este c?digo no me funciona, y no s? por qu?. Se v? igual pero con las
> marcas puestas en el HTML. Se supone que deber?an estar los HELLO
> WORLD y dem?s, y no entiendo por qu? no aparecen.
>
More information about the TYPO3-UG-spain
mailing list