Hallo zusammen
Ich habe ein Problem.. und zwar mit den Inhaltselementen.
Ich habe versucht einen "normalen Text" einzufügen und dann auch noch "TExt mit Bild" .. der Text wurde angezeigt.. beide Male sogar.. jedoch beim 2. das Bild darunter nicht.
Css Styled COntent habe ich eingebunden.. woran könnte es sonst noch liegen? Bitte helft mir.. *innotbin*.
Meine Seite findet ihr unter:
http://www.individualdesign.ch/shs/index.php?id=4
Unten noch mein Script.. evt. stimmt da was nicht?!
Vielen Dank schon im Voraus für eure Hilfe.
Liebe GRüsse
angsch-li
# Default PAGE object:
config.cache_period = 10
page = PAGE
page {
typeNum = 0
includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
# Allgemeine Seiteneigenschaften setzen
bodyTag = <body bgcolor="000000" topmargin="0" leftmargin="0">
meta.AUTHOR = Angela Herzig
meta.DESCRIPTION = SHS - Senn Hospitality Services GmbH wirkt in der Gastronomie und Hotellerie als Unterstützung neuer Konzeptentwicklungen. Dieses Kleinunternehmen wird geführt von Herr Gudio Senn.
stylesheet = fileadmin/templates/main/style.css
# Die Designvorlage integrieren
workOnSubpart = DOKUMENT
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/templates/main/template.html
10.marks {
# Den Platzhalter Adresse ansprechen
ADRESSE = TEXT
ADRESSE.value = <font size="2">SHS - Senn Hospitality Services GmbH <font color="#F26522">|</font> Ifangstrasse 19 <font color="#F26522">|</font> CH-5525 Fischbach-Göslikon<br />Tel +41 56 610 47 42 <font color="#F26522">|</font> Fax +41 56 610 47 43 <font color="#F26522">|</font> Mobil +41 79 402 18 06 <font color="#F26522">|</font> info@shs-gmbh.ch <font color="#F26522">|</font> www.shs-gmbh.ch</font>
# Text ansprechen
#INHALT = CONTENT
# CSS Styled Content
INHALT < styles.content.get
INHALT {
select.orderBy = sorting
select.where = colPos = 0
}
# Das Bild einlesen
BILD = IMAGE
BILD.file.import = uploads/media/
BILD.file.import.field = media
BILD.file.import.listNum = 0
# Das Hauptmenü erstellen
MENU1= HMENU
MENU1.special = directory
MENU1.special.value = 3
MENU1.1 = GMENU_LAYERS
MENU1.1 {
wrap = <table border="0" cellpadding="0" cellspacing="0"><tr>|</tr></table>
NO.wrap = <td>|</td>
NO.imgParams = hspace="0"
layerStyle = position:absolute;top:0px;left:0px;width:0px;VISIBILITY:hidden;
relativeToTriggerItem = 1
relativeToTriggerItem.addHeight=1
lockPosition = x
xPosOffset = -0
topOffset =0
expAll = 1
hideMenuTimer = 3000
hideMenuWhenNotOver = 2
freezeMouseover = 0
NO {
backColor = #F26522||#F68B20||#F8A31C||#FFC20E
XY = 195, 20
10 = TEXT
10.align = center
10.text.field = title
10.fontFile = fileadmin/template/fonts/arial.ttf
10.fontSize = 11
10.fontColor = #000000
10.niceText = 0
10.offset = 0,14
20 = BOX
20.dimensions = 0,0,1,19 |*| 0,0,1,19 |*| 20,20,0,19
20.color = #ffffff
20.align = r
}
RO <.NO
RO = 1
RO {
backColor = #757575
10.fontColor = #ffffff
}
ACT <.NO
ACT = 1
ACT {
backColor = #757575
10.fontColor = #ffffff
}
}
MENU1.2 = GMENU_LAYERS
MENU1.2 {
layerStyle = position:absolute;top:85px;left:5px;width:10px;VISIBILITY:hidden;
leftOffset = 169
xPosOffset = 0
yPosOffset = 0
lockPosition = x
hideMenuWhenNotOver = 1
relativeToParentLayer=1
dontFollowMouse = 1
expAll = 1
NO {
backColor = #ffffff
XY = 195, 20
10 = TEXT
10.align = center
10.text.field = title
10.fontFile = fileadmin/template/fonts/arial.ttf
10.fontSize = 10
10.fontColor = #000000
10.niceText = 0
10.offset = 0,14
20 = BOX
20.dimensions = 0,0,1,20
20.color = #cccccc
30 = BOX
30.dimensions = 0,0,195,1
30.color = #cccccc
50 < .20
50.align = r
60 = |*||*| || BOX
60.dimensions = 0,0,195,1
60.color = #cccccc
60.align = ,b
}
RO <.NO
RO = 1
RO {
backColor = #757575
10.fontColor = #ffffff
}
ACT <.NO
ACT = 1
ACT {
backColor = #757575
10.fontColor = #ffffff
}
}
# Das Untermenü erstellen
UMENU = HMENU
UMENU {
special = directory
special.value = 2
1 = TMENU
1.NO = 1
1.NO.linkWrap = <font color="#F26522"> | |</font> |*| <font color="#F26522"> | |</font> |*| <font color="#F26522"> </font>
1.NO {
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/template/fonts/arial.ttf
10.fontSize = 11
10.fontColor = #ffffff
10.niceText = 0
}
RO <.NO
RO = 1
RO {
10.fontColor = #F68B20
}
}
}
}
# Text einfügen
tt_content = CASE
tt_content {
key.field = header_layout
1 = COA
1 {
wrap = <table border="0"> | </table>
#field = CType
#wrap= <b>CType "|" not defined! </b>
10 = TEXT
10.field = header
10.wrap = <br /><br /><font color="#F26522"><font size="2.5"><b> | </b></font></font>
20 = TEXT
20.field = bodytext
20.wrap = <tr><td><font size="2"> | </font></td><hr size="1" /></hr></tr>
}
2 = COA
2 {
wrap = <table border="0"> | </table>
#field = CType
#wrap= <b>CType "|" not defined! </b>
10 = TEXT
10.field = header
10.wrap = <br /><br /><font color="#F68B20"><font size="2.5"><b> | </b></font></font>
20 = TEXT
20.field = bodytext
20.wrap = <tr><td><font size="2"> | </font></td><hr size="1" /></hr></tr>
}
3 = COA
3 {
wrap = <table border="0"> | </table>
#field = CType
#wrap= <b>CType "|" not defined! </b>
10 = TEXT
10.field = header
10.wrap = <br /><br /><font color="#F8A31C"><font size="2.5"><b> | </b></font></font>
20 = TEXT
20.field = bodytext
20.wrap = <tr><td><font size="2"> | </font></td><hr size="1" /></hr></tr>
}
4 = COA
4 {
wrap = <table border="0"> | </table>
10 = TEXT
10.field = header
10.wrap = <br /><br /><font color="#FFC20E"><font size="2.5"><b> | </b></font></font>
20 = TEXT
20.field = bodytext
20.wrap = <tr><td><font size="2"> | </font></td><hr size="1" /></hr></tr>
}
5 = COA
5 {
wrap = <table border="0"> | </table>
10 = TEXT
10.field = header
10.wrap = <br /><br /><font color="#757575"><font size="2.5"><b> | </b></font></font>
20 = TEXT
20.field = bodytext
20.wrap = <tr><td><font size="2"> | </font></td><hr size="1" /></hr></tr>
}
default = COA
default {
10 = TEXT
10.field = header
10.wrap = <b> | </b><br />
20 = TEXT
20.field = bodytext
}
}