Hi, probier's mal damit
HTML-Template:
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<!-- ###DOCUMENT_BODY### -->
<bgcolor="#FFFFFF" marginwidth="0" marginheight="0">
<table align="left" width="75%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">###CONTENT_MAIN###</td>
</tr>
</table>
<table align="left" width="25%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="100%" >###CONTENT_RIGHT###</td>
</tr>
</table>
<!-- ###DOCUMENT_BODY### -->
</body>
</html>
Habe zwei Tabellen für Content_get und Content_getRight benutzt, da mit nur einer Tabelle und zwei Spalten mir immer ein leerer border am rechten Content angezeigt wurde, wenn kein Content vorhanden war. Außerdem siehts blöd aus, da Content_get und Content_getRight ja in der selben Zeilenhöhe angezeigt werden ( durch <td> )
Setup:
config.frameReloadIfNotInFrameset = 0
mod.SHARED.colPos_list = 0,1,2,3,4,5,6
### get content
styles.content.get = CONTENT
styles.content.get {
table = tt_content
select.orderBy = sorting
select.where = colPos=0
}
### get content.left
styles.content.getLeft < styles.content.get
styles.content.getLeft.select.where = colPos=1
### get content.right
styles.content.getRight < styles.content.get
styles.content.getRight.select.where = colPos=2
### get content.margin
styles.content.getBorder < styles.content.get
styles.content.getBorder.select.where = colPos=3
outer_frameset = PAGE
mainpage = PAGE
leftmenu = PAGE
top = PAGE
rightpage = PAGE
bottom = PAGE
topmenu = PAGE
outer_frameset.typeNum = 0
top.typeNum = 1
leftmenu.typeNum = 2
mainpage.typeNum = 3
rightpage.typeNum = 4
bottom.typeNum = 5
topmenu.typeNum = 6
#Defining the outer frameset
outer_frameset.frameSet.rows = 50,20, *, 20
outer_frameset.frameSet.params = border="0" framespacing="0" frameborder="NO"
outer_frameset.frameSet {
1 = FRAME
1.obj = top
1.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
2 = FRAME
2.obj = topmenu
2.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
3 = FRAMESET
3.cols = 170, *, 160
3 {
1 = FRAME
1.obj = leftmenu
2 = FRAME
2.obj = mainpage
3 = FRAME
3.obj = rightpage
}
4 = FRAME
4.obj = bottom
4.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
}
##### Define the backgroundcolor of the frames #####
top.bodyTag = <body background="fileadmin/templates/pictures/top_1.jpg"><font face=Verdana size="4"><b>
#leftmenu.bodyTag = <body bgColor="#99CCFF">
leftmenu.bodyTag = <body background="fileadmin/templates/pictures/menu_1.jpg">
mainpage.bodyTag = <body background="fileadmin/templates/pictures/content_2.jpg">
rightpage.bodyTag = <body background="fileadmin/templates/pictures/rightmenu_1.jpg">
bottom.bodyTag = <body background="fileadmin/templates/pictures/bottom_1.jpg"><font face=Verdana size="1" font color="white">
topmenu.bodyTag = <body background="fileadmin/templates/pictures/topmenu_1.jpg"><font face=Verdana size="4"><b>
##### Define the Content of the mainpage #####
mainpage.20 = TEMPLATE
mainpage.20 {
###Das Einbinden der eigenen HTML-Desingvorlage findet hier statt###
template = FILE
template.file = fileadmin/templates/content_2spalten.html
### nun werden die inhalte ausgegeben hierbei muß nach 'marks.'
### der marker angegeben werden der für die textausgabe
### gewählt wurde
workOnSubpart = DOCUMENT_BODY
marks.CONTENT_MAIN = TEXT
marks.CONTENT_MAIN < styles.content.get
marks.CONTENT_RIGHT < styles.content.getRight
}
Für einen Rahmen um den Content benutze ich den 'Rahmen 2' im Seitenmenü --> Seitentitel bearbeiten. Diesen habe ich etwas in 'Constants:' abgeändert:
# Content Frame Border fuer benutzten 'Rahmen 2'
styles.content.frames {
ruler.lineColor = silver
ruler.lineThickness = 1
ruler.before = 10
ruler.after = 10
padding = 10
indent = 30
1.bgCol = silver
2.bgCol = silver
2.borderCol = silver
2.borderThickness = 1
}
Stephan