[TYPO3-core] RFC #10006: Bug: Extension TS template loaded instead of root template
Michel Tremblay
michel.tremblay at infoglobe.ca
Sat Aug 28 00:32:58 CEST 2010
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 --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_10006.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100827/f379d2af/attachment.asc>
More information about the TYPO3-team-core
mailing list