[TYPO3-core] RFC #10006: Bug: Extension TS template loaded instead of root template

Markus Klein m.klein at mfc-linz.at
Sun Aug 29 23:43:33 CEST 2010


Hi Michel,

I recreated your patch, since it contained two strange lines.

+1 on reading and testing.

regards
Markus

> 
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references: http://bugs.typo3.org/view.php?id=10006
> 
> Branches: 4.4, Trunk
> 
> Problem:
> TYPO3 consider the first TS template of a page as the "root" template,
> based on the "sorting" field. The "root" field is not taken into
> account.
> 
> Solution:
> Add "root" field to the "order by" part of the query in
> t3lib_tstemplate. This way, root template always comes first, and
> sorting is still used in case there is no (or multiple) root template.
> 
> Notes:
> This is the first time I modify this class, don't know if my patch can
> create some other problem.
> 
> Michel Tremblay
> Developer, infoglobe.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug10006_v2.patch
Type: application/octet-stream
Size: 767 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100829/0c6ea75d/attachment-0001.obj>


More information about the TYPO3-team-core mailing list