[TYPO3-english] content element column position changing in listview on re-order
Lukas Stancik
lukas.stancik at robe.cz
Sun Jun 14 22:32:03 CEST 2009
Thanks for your answer John, but the issue remains no matter what the
mod.SHARED.colPos_list is set to. Order of the columns themselves is not
a problem actually, but the content "jumps into a different column" if
you try to order it in list view - it is very annoying...
Regards, Lukas
John Sullivan napsal(a):
> You should order them in the code (via "options" tab)
>
>
> For example:
> Eg: mod.SHARED.colPos_list = 1,3,2
> Result of this sequence would be: LEFT, BORDER, RIGHT
>
> and if you use
> mod.SHARED.colPos_list = 1,2,3
>
>
> the result should be: LEFT, RIGHT, BORDER
>
>
> Bests,
> John
>
>
> Lukas Stancik wrote:
>> Hm, I've removed the setting from the extTables.php but the column
>> position is altered even if there
>> are only the default columns...
>>
>> Lukas
>>
>> Lukas Stancik napsal(a):
>>> Hi list,
>>>
>>> I've came across a strange behavior in list-view module. I've these
>>> columns set in my extTables.php
>>>
>>> $TCA["tt_content"]["columns"]["colPos"]["config"]["items"] = array (
>>> "0" => array ("MAIN||||||||||","0"),
>>> "1" => array ("LEFT||||||||||","1"),
>>> "2" => array ("RIGHT||||||||||","2"),
>>> "3" => array ("BORDER||||||||||","3"),
>>> "4" => array ("EXTRA||||||||||","4"),
>>> "5" => array ("HEADER||||||||||","5"),
>>> "6" => array ("FOOTER||||||||||","6")
>>> );
>>>
>>> Now, let's say I have 3 content elements on a page, the first one
>>> with column position set to (for example) RIGHT
>>> and the second one to BORDER and 3rd one to LEFT. In the list view I
>>> will try to re-order these three elements. If I hit either the
>>> "Move up in list" or "Move down in list" next to the any of the
>>> content elements the column position of the reordered content element
>>> is changed to a different value.
>>>
>>> Did I do something wrong in the extTables.php? Does anyone know why
>>> this happens?
>>> I would be glad for any hints. Thanks in advance.
>>>
>>> PS: I'm using TYPO3 4.2.6 in FF 3.0.10
>>>
>>> Best Regards,
>>> Lukas Stancik
More information about the TYPO3-english
mailing list