[TYPO3] Nested Content Elements

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Tue Aug 1 12:29:43 CEST 2006


Krystian Szymukowicz wrote:
unctionality. Now the layouts can be easily and better arranged. Great.
> 
> After testing I found one little bug. The content elements in each 
> column are sorted by "tstamp". For sure it is not sorted by "sorting". I 
> have checked that on 2 installations.
> 
> It seems to be simple to fix but still after some hours of digging in 
> the code I can not do it - the code is little bit too complicated for me 
>  : (
> 


I found this bug 2 min. after sending previous post : )

line 77 in file class.tx_kbnescefe_pi1.php :

IS:
//$rows = $GLOBALS['TSFE']->sys_page->getRecordsByField('tt_content', 
'pid', $GLOBALS['TSFE']->id, ' AND colPos LIKE 
\''.$this->cObj->data['uid'].'__%\'');

SHOULD BE:
$rows = $GLOBALS['TSFE']->sys_page->getRecordsByField('tt_content', 
'pid', $GLOBALS['TSFE']->id, ' AND colPos LIKE 
\''.$this->cObj->data['uid'].'__%\' ORDER BY sorting');

--
grtz
Krystian




More information about the TYPO3-english mailing list