[TYPO3-core] RFC: #12849: Element wizard & web_list.allowedNewTables doesn't respect hiding pages
Susanne Moog
typo3 at susannemoog.de
Sun Feb 21 14:35:14 CET 2010
Hi Georg,
Am 30.11.2009 14:43, schrieb Georg Ringer:
> This is an SVN patch request.
>
> Type: Minor Feature
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12849
>
> Branches:
> trunk, 4.3
>
> Problem:
> The helpful TsConfig setting (Page TsConfig)
> mod.web_list.allowedNewTables = fe_users
>
> allows to specify the records which are available through the wizard. If
> setting it to fe_users there is still the entry "Create a new page -
> page (select position)" which is certainly not wanted.
>
> Solution:
> the patch checks before rendering the line if pages is allowed in the list
>
> How to reproduce:
> 1) Create or use a new sys folder and set
> mod.web_list.allowedNewTables = fe_users
>
> 2) Try to create a new record by using the list view > the "create a new
> page" is there
>
> 3) Apply patch and try again
After the patch I get:
PHP Warning: implode() [function.implode]: Invalid arguments passed in
/var/www/typo3dev/trunk/typo3/db_new.php line 562
because $startRows is not initialised as an array.
If you fix that: +1 by reading and testing.
Best regards,
Susanne
More information about the TYPO3-team-core
mailing list