[TYPO3-core] RFC Bug #17161: be_layout foreign_table_where

Sebastian Fischer sf at marketing-factory.de
Fri Jan 21 15:01:51 CET 2011


On 21.01.2011 14:52, JoH asenau wrote:
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=17161
>
> Branches:
> trunk
>
> Problem:
> If a General Record Storage Page (GRSP) is configured, which is very
> likely the case, when you use tt_news, then TYPO3 searches for be_layout
> records only on the GRSP page and the PAGE_TSCONFIG_ID.,,If no GRSP is
> configured, it uses records from everywhere.,,I suggest do always
> include records from the page, which properties are currently edited, to
> make the feature a bit more fool-proof.
>
> Additionally it's not possible to create layout records with pid = 0.
>
> Solution:
> Attached patch will add both, rootLevel and CURRENT_PID
>
> CURRENT_PID will take PAGE_TSCONFIG_ID into account as well.
> It will only give the user access to records of the current page, when
> there is no PAGE_TSCONFIG_ID restricting the access to another page.
>
> Cheers
>
> Joey
>

+1 by reading


More information about the TYPO3-team-core mailing list