[TYPO3-english] Fetching tt_content from TS

Pero Matic takoje at takoje.hr
Tue Nov 10 18:37:10 CET 2009


Hi. I'd like to have some advise from you guys dealing flexibility of 
content order. I often have requests that content in one column can be 
ordered as backend user wants it. So for example this is the right page 
content:

<div class="some_class1">###content_1###</div>
<div class="some_class2">###content_2###</div>
<div class="some_class3">###content_3###</div>

Now, users want to be able to change the order of content ie:

<div class="some_class2">###content_2###</div>
<div class="some_class1">###content_1###</div>
<div class="some_class3">###content_3###</div>

I'm not sure if this can be done because when you fetch content, you do it 
something like this:

  10 = COA
  10.10 < styles.content.get
  10.10.select.begin = 0
  10.10.select.max = 1
  10.10.select.where = colPos=2

so, element position is striclty defined. If i get whole column by removing 
10.10.select.max = 1 line then i can't wrap elements with their appropriate 
<div class=""> tags. Any advice? Thx!




More information about the TYPO3-english mailing list