[TYPO3-core] RFC #2859: Feature: List view should have 'collapse' / 'expand' functionality for all list types
Steffen Kamper
info at sk-typo3.de
Fri Mar 6 23:58:01 CET 2009
Hi Christian,
Christian Kuhn schrieb:
> Hi Steffen,
>
> Steffen Kamper wrote:
>> following patch fix this.
>>
>>> mod.web_txtemplavoilaM1 {
>>> recordDisplay_tables = tt_news,tt_news_cat
>>> }
>>>
>>> In this case the arrow has wrong link, it shows to
>>> typo3conf/ext/templavoila/mod1/db_list.php?id=1&table=&returnUrl=index.php%3Fid%3D1&collapse[tt_news]=1
>
> I was not aware of this feature. Thanks for pointing this out.
>
> +1 to include BACK_PATH in listURL(), this is always unset if the list
> module is called directly and won't do any harm.
>
> For the templavoila "list records" feature: I don't think it does much
> sense to collapse the tables there, you explicitly select a table with
> the "Display elements from:" drop-down and I expect the records to be
> shown even if they are collapsed in the list module.
>
> So I introduced a variable to disable the collapse functionality in the
> list module in attached 2859_followUp_v2.diff (your BACK_PATH included).
>
> Attached templavoila_disable_collapse.diff uses this var and disables
> the collapse button in templavoila.
>
> If you like this, I am not sure if we still need #10617, the reload
> doesn't look like a really advanced solution.
>
> Thanks
> Christian
>
the reload is needed to stay in page module of TV. The reason for using
it - if you collpsed this table in list view and you switch to TV page
module, the table is still collapsed as it is saved in Session.
I look to your patch later ;-)
vg Steffen
More information about the TYPO3-team-core
mailing list