[TYPO3-core] RFC Bug #17006: Language mode is broken as soon as a backend layout is selected for the current page

JoH asenau info at cybercraft.de
Thu Jan 13 13:42:20 CET 2011


Hi,

This is an SVN patch request

Type: Bugfix

Bugtracker reference: http://bugs.typo3.org/view.php?id=17006

Branches: trunk

Problem:

The language mode of the page module which shows a single language or 
each of the languages side by side without any additional layout is 
broken as soon as you select a backend layout for a page.

It doesn't matter if you select it on the page itself or it is inherited 
from a parent page.

This is due to the fact that the language columns only get filled when 
the Grid View is not triggered in line 549 of class.tx_cms_layout.php


Solution:

Check if there is a record available AND the language mode is not set

Attached patch will do that.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17006.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110113/6fd58e13/attachment.txt>


More information about the TYPO3-team-core mailing list