Einzelnen Beitrag anzeigen
  #2  
Alt 09.10.07, 16:05
Benutzerbild von christiana83
christiana83 christiana83 ist offline
Forum Stammgast
 
Registriert seit: 04.07.06
Ort: Gotha
Alter: 25
Beiträge: 405
christiana83 eine Nachricht über ICQ schicken christiana83 eine Nachricht über Skype™ schicken

Ja ich glaube es könnte schon daran liegen, dass du teilweise die Klammern nicht richtig setzt.

Mach das mal anders:

Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
plugin.tx_automaketemplate_pi1 {

   # Read the template file:
content = FILE
content.file = pfad/zum/template.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

}

   # Prefix all relative paths with this value:
relPathPrefix = fileadmin/
}

#---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    

   #---hier kommen die eigenen Marker rein, z.B.----------------------


subparts.heading = TEXT
subparts.heading.value = Hier kommt Heading


}   


#---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
}
Mit Zitat antworten