Hi Maka77,
bin selbst absoluter Anfänger in Sachen Typo3. Ist aber ein unglaublich vielfältiges Teil.
Anbei einfach mal der jetzige Stand von Constants und Setup.
Constants:
config.intTarget = {$PAGE_TARGET}
content.pageFrameObj = mainpage
styles.content.lastUpdate.label = Last update:
styles.content.textStyle {
face = verdana
size = 1
color = "#000000"
}
PAGE_TARGET = mainpage
Setup:
config.frameReloadIfNotInFrameset = 0
mod.SHARED.colPos_list = 0,1,2,3
# get content
styles.content.get = CONTENT
styles.content.get {
table = tt_content
select.orderBy = sorting
select.where = colPos=0
}
styles.content.get.totalWidth = 100
# get content.left
styles.content.getLeft < styles.content.get
styles.content.getLeft.select.where = colPos=1
styles.content.columns1.totalWidth = 100
# 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
menu = PAGE
top = PAGE
rightpage = PAGE
bottom = PAGE
topmenu = PAGE
outer_frameset.typeNum = 0
top.typeNum = 1
menu.typeNum = 2
mainpage.typeNum = 3
rightpage.typeNum = 4
bottom.typeNum = 5
topmenu.typeNum = 6
mainpage.10 = CONTENT
mainpage.10.content < styles.content.get
mainpage.10.bodyTag = <body font face="verdana">
mainpage.10.table = tt_content
mainpage.20.content < styles.content.getRight
mainpage.20.bodyTag = <body font face="verdana">
mainpage.20.table = tt_content
# Define the backgroundcolor of the frames
top.bodyTag = <body bgColor="#000000"><font color="#FFFFFF"><font face=Verdana size="4"><b>
menu.bodyTag = <body bgColor="#99CCFF">
#menu.bodyTag = <body background="media/fd_backgrounds/menu_back.gif">
mainpage.bodyTag = <body bgColor="white">
#mainpage.bodyTag = <body background="media/fd_backgrounds/mond.gif">
rightpage.bodyTag = <body bgColor="white">
bottom.bodyTag = <body bgColor="black"><font color="#FFFFFF"><font face=Verdana size="2">
topmenu.bodyTag = <body bgColor="#00A2FF"><font color="#FFFFFF"><font face=Verdana size="1"><b>
# Define the bottom - frame text
bottom.10 = TEXT
bottom.10.value = Help to prevent the global warming by writing cool software
# Define the top - frame text
top.10 = TEXT
top.10.value = GLOBAL SOFTWARE DEVELOPMENT NET Inc.    
top.20 = HTML
top.20.value = <IMG src ="media/fd/logos/sapdb_logo.jpg" WIDTH=80 HEIGHT=30 hspace=0>
top.30 = TEXT
top.30.value =   
top.40 = HTML
top.40.value = <IMG SRC="media/fd/logos/mysql-logo.png" WIDTH=80 HEIGHT=30 hspace=0>
top.50 = TEXT
top.50.value =   
top.60 = HTML
top.60.value = <IMG SRC="media/fd/logos/oracle_logo.gif" WIDTH=80 HEIGHT=30 hspace=0>
top.70 = TEXT
top.70.value =   
top.80 = HTML
top.80.value = <IMG SRC="media/fd/logos/sybase_logo.gif" WIDTH=80 HEIGHT=30 hspace=0>
top.90 = TEXT
top.90.value =   
top.100 = HTML
top.100.value = <IMG SRC="media/fd/logos/sqlserver_logo.gif" WIDTH=100 HEIGHT=30 hspace=0>
#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 = menu
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 HMenu
menu.20 = HMENU
#menu.20.typeNum = 2
menu.20.entryLevel = 0
menu.20.1 = TMENU
menu.20.1.target = mainpage
menu.20.1 {
expAll = 1
wrap = <table width="150" border=0 cellspacing=0 cellpadding=0><tr><td><img
src="clear.gif" width=1 hspace=150 height=1 vspace=3 border=0></td></tr> |
</table>
NO.linkWrap = <font face=Arial size=2 color=black><b> |</b></font>
NO.allWrap = <tr><td><img src="clear.gif" width=1 height=1 vspace=3 border=0><br> |
</td></tr>
}
menu.20.2 = TMENU
menu.20.2.target = mainpage
menu.20.2 {
wrap = <tr><td nowrap> | </td></tr>
NO {
beforeImg = media/bullets/bullet1_n.gif
beforeROImg = media/bullets/bullet1_h.gif
beforeImgTagParams = hspace=2
RO = 1
after = <br>
ATagBeforeWrap = 1
linkWrap= <font face=Verdana size=1 color=black> | </font>
}
}
Das läuft bei mir wenigstens.
Mein problem ist jetzt aber die Frage, ob ich in diesem Setup-Bereich von meinem Teplate die Column_positionen angeben kann, oder ob das nur in Html-Gerüsten über diese Platzhalter für den Content geht.
Stephan