Hallo zusammen,
ich versuche über den Seiteninhaltstyp 'Plain HTML' einen Flashfilm in meinem Projekt anzuzeigen.
Nur wird zur Zeit nur der HTML Source angezeigt.
Folgend mein TScript:
page = PAGE
page {
config.doctype = xhtml_strict
bodyTag = <body>
stylesheet = fileadmin/template/style.css
meta.AUTHOR = xxx
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template/temp.htm
10.workOnSubpart = DOKUMENT
10.marks {
language = TEXT
language {
wrap = <ul><li class="aktiv"><a href="#">DEUTSCH</a></li><li><a href="#">FRANÇAIS</a></li></ul>
}
mainnav = HMENU
mainnav {
special = directory
special.value = 2,12
entryLevel = 0
1 = TMENU
1.noBlur = 1
1.expAll = 0
1.wrap = <ul>|</ul>
1.NO.wrapItemAndSub = <li>|</li>
1.ACT = 1
1.ACT.wrapItemAndSub = <li class="aktiv">|</li>
}
secnav = HMENU
secnav {
1 = TMENU
entryLevel = 2
1.noBlur = 1
1.expAll = 0
1.wrap = <ul>|</ul>
1.NO.wrapItemAndSub = <li>|</li>
1.ACT = 1
1.ACT.wrapItemAndSub = <li class="aktiv">|</li>
}
content-left = CONTENT
content-left {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
content-right = CONTENT
content-right {
table = tt_content
select.orderBy = sorting
select.where = colPos = 2
}
headline = CONTENT
headline {
table = tt_content
renderObj = COA
renderObj {
20 = TEXT
20.field = header
20.wrap = <h1>|</h1>
}
}
impressum = HMENU
impressum {
special = directory
special.value = 10
1 = TMENU
1.noBlur = 1
1.expAll = 0
1.NO.wrapItemAndSub = |
}
}
}
tt_content = CASE
tt_content {
key.field = header_layout
0 = COA
0 {
10 = TEXT
10.field = bodytext
10.wrap = |
}
1 = COA
1 {
10 = TEXT
10.field = header
10.field >
20 = TEXT
20.field = bodytext
20.wrap = |
}
2 = COA
2 {
10 = TEXT
10.field = header
10.field >
20 = TEXT
20.field = bodytext
20.wrap = <div style="background:transparent url(fileadmin/template/images/bg-stripe-txt2.png) left top repeat-y;">|</div>
}
#nur fuer Bilder
3 = COA
3 {
10 = TEXT
10.field = bodytext
10.wrap = |
20 = IMAGE
20 {
file.import = uploads/pics/
file.import.field = image
altText = TEXT
altText.field = imagecaption
captionSplit = 1
imgText.field = imagecaption
imageTextSplit = 1
borderThick = 0
colSpace = 0
rowSpace = 0
}
}
#nur fuer Listen
4 = COA
4 {
10 = TEXT
10.field = header
10.field >
20 = TEXT
20.field = bodytext
20.wrap = <div style="background:transparent url(fileadmin/template/images/bg-stripe-txt2.png) left top repeat-y;">|</div>
30 = IMAGE
30 {
file.import = uploads/pics/
file.import.field = image
altText = TEXT
altText.field = imagecaption
captionSplit = 1
imgText.field = imagecaption
imageTextSplit = 1
borderThick = 0
colSpace = 0
rowSpace = 0
}
}
5 = COA
5 {
10 = TEXT
10.field = header
10.field >
20 = TEXT
20.field = bodytext
20.wrap = |
30 = IMAGE
30 {
file.import = uploads/pics/
file.import.field = image
altText = TEXT
altText.field = imagecaption
captionSplit = 1
imgText.field = imagecaption
imageTextSplit = 1
borderThick = 0
colSpace = 0
rowSpace = 0
}
}
}
tt_content.0.10.parseFunc = < lib.parseFunc_RTE
tt_content.1.20.parseFunc = < lib.parseFunc_RTE
tt_content.2.20.parseFunc = < lib.parseFunc_RTE
tt_content.3.10.parseFunc = < lib.parseFunc_RTE
tt_content.4.20.parseFunc = < lib.parseFunc_RTE
tt_content.5.20.parseFunc = < lib.parseFunc_RTE
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class = padding2
#lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes >
wenn ich folgenden Teil weglassen
tt_content = CASE
tt_content {
key.field = header_layout
0 = COA
0 {
10 = TEXT
10.field = bodytext
10.wrap = |
}
1 = COA
1 {
10 = TEXT
10.field = header
10.field >
20 = TEXT
20.field = bodytext
20.wrap = |
}
2 = COA
2 {
10 = TEXT
10.field = header
10.field >
20 = TEXT
20.field = bodytext
20.wrap = <div style="background:transparent url(fileadmin/template/images/bg-stripe-txt2.png) left top repeat-y;">|</div>
}
#nur fuer Bilder
3 = COA
3 {
10 = TEXT
10.field = bodytext
10.wrap = |
20 = IMAGE
20 {
file.import = uploads/pics/
file.import.field = image
altText = TEXT
altText.field = imagecaption
captionSplit = 1
imgText.field = imagecaption
imageTextSplit = 1
borderThick = 0
colSpace = 0
rowSpace = 0
}
}
#nur fuer Listen
4 = COA
4 {
10 = TEXT
10.field = header
10.field >
20 = TEXT
20.field = bodytext
20.wrap = <div style="background:transparent url(fileadmin/template/images/bg-stripe-txt2.png) left top repeat-y;">|</div>
30 = IMAGE
30 {
file.import = uploads/pics/
file.import.field = image
altText = TEXT
altText.field = imagecaption
captionSplit = 1
imgText.field = imagecaption
imageTextSplit = 1
borderThick = 0
colSpace = 0
rowSpace = 0
}
}
5 = COA
5 {
10 = TEXT
10.field = header
10.field >
20 = TEXT
20.field = bodytext
20.wrap = |
30 = IMAGE
30 {
file.import = uploads/pics/
file.import.field = image
altText = TEXT
altText.field = imagecaption
captionSplit = 1
imgText.field = imagecaption
imageTextSplit = 1
borderThick = 0
colSpace = 0
rowSpace = 0
}
}
}
tt_content.0.10.parseFunc = < lib.parseFunc_RTE
tt_content.1.20.parseFunc = < lib.parseFunc_RTE
tt_content.2.20.parseFunc = < lib.parseFunc_RTE
tt_content.3.10.parseFunc = < lib.parseFunc_RTE
tt_content.4.20.parseFunc = < lib.parseFunc_RTE
tt_content.5.20.parseFunc = < lib.parseFunc_RTE
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class = padding2
#lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes >
dann wird der Film abgespielt.Jedoch brauche ich das für meine Formatierung des Inhalts.
kann mir jemand sagen wie ich mein TypoScript erweitern muß damit der Film zu sehen ist?
Muß ich evtl etwas bei den Constant Editor einstellen?
Vielen Dank für eure Hilfe.