Guten Morgen aus dem sonnigen Göttingen!
Ich habe ein kleines Problem mit einem Typo3-Projekt, welches ich realisieren möchte.
Ich möchte eine ganz ordinäre textbasierte Sitemap ausgeben.
Ich habe auch schon verschiedene Beiträge hier angesehen und verwendet sowie über Google einige andere Beispiele versucht. Aber keines der Beiträge führt auf meinem Projekt zu einer Sitemap, so dass ich nahe der Verzweifelung bin. Ich bin mir sicher, dass es wahrscheinlich irgendeine Kleinigkeit ist, die ich nicht beachtet habe.
Vielleicht könnt Ihr mir helfen?
Ich nutze ein HTML-Template, im Setup steht bei mir folgendes:
------------------------------------------------------------------
main = PAGE
main {
typeNum = 0
bodyTag = <body background="fileadmin/template/main/img/bgmain2.gif">
stylesheet = fileadmin/template/main/style.css
meta.AUTHOR = viaMedien GmbH
meta.DESCRIPTION = Professionelle Audio- und Videotechnik
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template/main/hometemplate.htm
10.workOnSubpart = DOCUMENT
10.marks {
LINKS = CONTENT
LINKS {
table = tt_content
select.orderby = sorting
select.where = colPos = 1
}
RECHTS = CONTENT
RECHTS {
table = tt_content
select.orderby = sorting
select.where = colPos = 2
}
MENU_LINKS = HMENU
MENU_LINKS.special = directory
MENU_LINKS.special.value = 2
MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
XY = 125, 24
backColor = #E7E6E5
10 = TEXT
10.text.field = title
10.fontcolor = #000000
10.fontFile = fileadmin/template/main/verdanab.ttf
10.fontSize = 10
10.offset = 11, 14
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 125, 5
backColor = #F8F7F7
}
20.offset = 0, 19
}
MENU_LINKS.1.RO < .MENU_LINKS.1.NO
MENU_LINKS.1.RO {
tmp > .backColor
backColor = #D5D4D3
5 < .10
5.fontcolor < .tmp
5.offset = 8, 29
30 = IMAGE
30.file = GIFBUILDER
30.file {
XY = 10, 10
backColor = #FFAA55
}
30.offset = 110, 4
}
MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
MENU_LINKS.2 < .MENU_LINKS.1
MENU_LINKS.2 {
NO.backColor = #D5D4D3
RO < .NO
RO.backColor = #D5D4D3
RO.5 >
CUR < .RO
}
}
}
lib.stdheader >
lib.stdheader = CASE
lib.stdheader {
key.field = header_layout
1 = TEXT
1.field = header
1.wrap = <table width="249" border="0" cellpadding="0" cellspacing="0"><tr><td width="28" height="30" bgcolor="#FFAA55"></td><td width="9" height="30" bgcolor="#FFEBD8"></td><td width="212" height="30" bgcolor="#FFEBD8" class="headline"><span class="headline"> | </span></td></tr><tr><td colspan="3">&nbsp;</td></tr>
2 = TEXT
2.field = header
2.wrap = <table width="253" border="8" cellpadding="0" cellspacing="0" bordercolor="#E6E4E4"><tr><td><table width="100%" border="1" cellpadding="3" cellspacing="0" bordercolor="#E6E4E4"><tr> <td><img src="fileadmin/template/main/img/punkt_orange.gif" width="7" height="7">&nbsp;<span class="headline"> | </span></td></tr>
default < .0
}
tmp_tt_content_text < tt_content.text
tt_content.text >
tt_content.text = COA
tt_content.text.10 < lib.stdheader
tt_content.text.20 = CASE
tt_content.text.20 {
key.field = header_layout
1 = TEXT
1 {
field = bodytext
fieldRequired = bodytext
wrap = <tr><td colspan="3"><span class="content"> | </span><br></td></tr></table>
parseFunc < tmp_tt_content_text.10.parseFunc
editIcons < tmp_tt_content_text.10.editIcons
}
2 = TEXT
2 {
field = bodytext
fieldRequired = bodytext
wrap= <tr><td><p class="content"> | </p></td></tr></table></td></tr><tr><td height="30" bgcolor="#E6E4E4"><div align="right"><img src="fileadmin/template/main/img/pfeil_rechts.gif" width="11" height="8" border="0"></a></div></td></tr></table>
parseFunc < tmp_tt_content_text.10.parseFunc
editIcons < tmp_tt_content_text.10.editIcons
}
}
-----------------------------------------------------------------
Die Seite ist so aufgeteilt, dass es oben einen Header gibt, links eine Navigation welche immer sichtbar ist und der Inhaltsbereich sich in zwei Spalten im rechten Bereich aufteilt. Ich möchte die Sitemap entweder in den linken oder rechten Bereich darstellen lassen.
Dazu nutze ich im Inhaltsbereich natürlich den Inhaltstyp "Sitemapt".
Unter "include static" sind bei mir
- styles.sitemap.text
- content (default)
- cSet (default)
eingestellt. Trotzdem kommt nichts raus.
Woran kanns liegen.
Wenn nötig, gebe ich gerne Zugang zu dem Projekt.
Dazu mich bitte einfach anmailen.
Erwarte Eure Beiträge und bedanke mich jetzt schon dafür
Grüsse,
Thorsten