Hallo zusammen,
ich versuche mich das erstemal an einem eigenen Menü, sonst habe ich ich immer aus das Business-Template zurück gegriffen (verstehe es noch nicht ganz).
Problem:
ich möchte eine einfache Text-Menü (Klapp-Menü) erstellen, das funktioniert auch soweit, alle Links werden angezeigt, nur nicht in der Formatierung die ich möchte.
der Tag allWarp = <td> | </td> wird nicht übernommen!
Im Quelltext sollte stehen:
<table><tr>
<td> link1</td>
<td> link2</td>
<td> link...</td>
</tr></table>
es steht aber:
<table><tr>
link1 link2 link...
</tr></table>
was mache ich falsch???
HTML File:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<!-- ###DOCUMENT### -->
<table><tr>###MENUE###</tr></table>
###INHALT###
<!-- ###DOCUMENT### -->
</body>
</html>
Typo Sript:
# PAGE object:
page = PAGE
page.typeNum = 0
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/index.html
workOnSuppart = DOKUMENT
}
page.10.marks.INHALT= CONTENT
page.10.marks.INHALT {
table = tt_content
select.orderBy = sorting
select.wehre = colPos=0
}
styles.content.get = CONTENT
styles.content.get {
table = tt_content
select.oderBy = sorting
select.where = colPos=0
}
marks.10.INHALT < styles.content.get
# Menu erzeugen:
page.10.marks.MENUE = HMENU
page.10.marks.MENUE.1 = TMENU
page.10.marks.MENUE.1 {
NO {
allWarp = <td> | </td>
}
ACT = 1
ACT {
allWarp = <td> | </td>
}
}
page.10.marks.MENUE.2 = TMENU
page.10.marks.MENUE.2 {
NO {
allWarp = <td> | </td>
}
ACT = 1
ACT {
allWarp = <td> | </td>
}
}