Zum Inhalt springen

CONTENT bringt mich noch zum wahnsinn

Erstellt am 23. April 2005 · 7 Antworten · letzte Antwort am 25. April 2005

Tags: Inhaltselemente, Frage

stephan_2 ·

HI, ich folgendes Problem bei meinem Script.
Leider ist mir nicht so ganz klar warum zwar mein MENU und der GIFBUILDER funktioniert, aber bei mir kein Conntent angezeigt wird.

Hier mein script:
seite = PAGE
seite {

typeNum = 0
stylesheet = fileadmin/template/style.css

10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template/index.htm
10.workOnSubpart = DOKUMENT
10.marks {

CONTENT = CONTENT
CONTENT.table = tt_content
CONTENT.select.pidInList = this
CONTENT.select.orderBy = sorting
CONTENT.select.wjere = colPos=0

MENUOBEN = HMENU
MENUOBEN.1 = TMENU
MENUOBEN.1.NO = 1
MENUOBEN.1.NO.linkWrap =  | | |*|  | | |*|  |

UNTERMENU = HMENU
UNTERMENU.entryLevel = 1
UNTERMENU.1 = TMENU
UNTERMENU.1.special = directory
UNTERMENU.1.NO = 2
UNTERMENU.1.NO.linkWrap = |<br>
}
}

Danke für eure hilfe

stephan_2 ·

Asche über mein Haupt.
Ist einfachnoch zu früh

hier die lösung
tt_content = TEXT
tt_content.field = header
tt_content = COA
tt_content {
20 = TEXT
20.field = bodytext
}

gruß
stephan

stephan_2 ·

also jetzt brauch ich doch nochmal hilfe.
ich hab keine ahnung warum mein content ohne <br> oder ähnlichem angeziegt wird. hier der inhalt mit html-quelltext.

<P>TEST CONNTENT</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>So einfach geht das.</P>

und in meiner frontend ausgabe zeigt er es mir so an

TEST CONNTENT So einfach geht das.

Kapier ich jetzt nicht.

gruß
stephan

stephan_2 ·

HI,

hab zwar

CONTENT.select.wjere = colPos=0

in

CONTENT.select.where = colPos=0

geändert, allerdings macht er immer noch keine zeilenumbrüche.

gruß
stephan

Unbekannter Benutzer ·

einfacher ists mit statischen Templates. Probier das doch erst mal.

content(default) und cSet stylesheet als statische Templates einbinden.

dann statt

 CONTENT = CONTENT
CONTENT.table = tt_content
CONTENT.select.pidInList = this
CONTENT.select.orderBy = sorting
CONTENT.select.wjere = colPos=0

einfach

CONTENT = CONTENT
CONTENT < styles.content.get

Viele Grüße
Niki

stephan_2 ·

hi,

also wenn ich

seite = PAGE
seite {

typeNum = 0
stylesheet = fileadmin/template/style.css
meta.AUTHOR = Stephan Hager
meta.DESCRIPTION = Template Nummer 505 zu bestellen bei schnell-im-netz.de

10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template/index.htm
10.workOnSubpart = DOKUMENT

10.marks {

CONTENT = CONTENT
CONTENT < styles.content.get

MENUOBEN = HMENU
MENUOBEN.1 = TMENU
MENUOBEN.1.NO = 1
MENUOBEN.1.NO.linkWrap = &nbsp;|&nbsp;&#124; |*| &nbsp;|&nbsp;&#124; |*| &nbsp;|

UNTERMENU = HMENU
UNTERMENU.entryLevel = 1
UNTERMENU.1 = TMENU
UNTERMENU.1.special = directory
UNTERMENU.1.NO = 2
UNTERMENU.1.NO.linkWrap = &nbsp;&nbsp;|<br>

UNTERMENU = HMENU

UNTERMENU.entryLevel = 1
UNTERMENU.2 = TMENU
UNTERMENU.2.special = directory
UNTERMENU.2.NO = 2
UNTERMENU.2.NO.linkWrap = &nbsp;&nbsp;&nbsp;&nbsp;|<br>

UNTERMENU = HMENU
UNTERMENU.entryLevel = 1
UNTERMENU.3 = TMENU
UNTERMENU.3.special = directory
UNTERMENU.3.NO = 2
UNTERMENU.3.NO.linkWrap = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>

SONSTIGES = IMAGE
SONSTIGES.file = GIFBUILDER
SONSTIGES.file {
XY = 400, 75
backColor = #1C2B9D
10 = TEXT
10.text = Herzlich Willkommen bei XYZ
10.fontSize = 20
10.fontFile = fileadmin/template/arialbi.ttf
10.fontColor = #DBD9D9
10.niceText = 1
10.offset = 10, 47

20 = TEXT
20.text.field = subtitle // title
20.fontSize = 9
20.fontFile = fileadmin/template/arialbi.ttf
20.fontColor = #F6FF00
20.nice.Text = 1
20.offset = 10,73
}
}
}

tt_content = TEXT
tt_content.field = header
tt_content = COA
tt_content {
20 = TEXT
20.field = bodytext
}

habe dann zeigt er mir nur noch den marker an.

stephan

Unbekannter Benutzer ·

Den Wahnsinn hier würde ich erst mal rausschmeissen:

 }
}


tt_content = TEXT
tt_content.field = header
tt_content = COA
tt_content {
20 = TEXT
20.field = bodytext
}

und überprüfe ob Du auch die statischen Templates eingebunden hast. Das vergisst man gerne mal.

Viele Grüße
Niki