Hallo,
in meinem bisherigen Seitenlayout gibt es quasi 2 Spalten - eine für den Content und links davon für diverse Extra-Erklärungen wie Links o.ä.
Dürfte sich mit T3 ganz gut realisieren lassen, dachte ich...
Das Problem liegt jetzt darin, wie ich die Content-Elemente in der linken Spalte an den Elementen im Hauptteil ausrichte.
Aussehen soll es etwa so:
-----------------
| L1 | Con1 |
-----------------
| L2 | Con2 |
-----------------
| L3 | Con3 |
-----------------
Wobei man bspw. anstelle von L2 ein leeres Element anlegen kann.
Soweit, so gut.
Laut TSref soll sich das alles so machen lassen:
# Defining a temporary object with the content:
temp.contentInTableAlignedCells = COA
temp.contentInTableAlignedCells.wrap = <table border=1> | </table>
temp.contentInTableAlignedCells {
# Setting up a COA content object at position 10 which shows
# a table with two columns and a single content element in each
10 = COA
10.5 = TEXT
10.5.value = <tr><td>
10.10 < styles.content.get
10.10.select.begin =0
10.10.select.max =1
10.15 = TEXT
10.15.value = </td><td>
10.20 < styles.content.getLeft
10.20.select.begin =0
10.20.select.max =1
10.25 = TEXT
10.25.value = </td></tr>
# Now, copy that content object from position 10 as many times as needed
# and adjust parameters
20 < .10
20.10.select.begin = 1
20.20.select.begin = 1
# ... and then you go on for as many maximum elements you will accept.
}
# Now, copy this object into a position in the page rendering object tree.
subparts.CONTENT < temp.contentInTableAlignedCells
Wobei ich sonst in subparts.CONTENT einfach styles.content.get übernehme (für Testzwecke reicht das aber jetzt so aus).
Nur: Ich sehe nichts, es wird nix angezeigt. Hat jemand eine Idee, woran es liegen könnte? Oder wie ich es einfacher machen kann?
Danke!