[TYPO3-core] RFC #6147: Feature: Sitemaps/Menu of subpages with active state [content rendering]

Susanne Moog typo3 at susannemoog.de
Mon Oct 18 22:10:28 CEST 2010


On 18.10.2010 22:05, Ernesto Baschny [cron IT] wrote:
> Susanne Moog schrieb am 18.10.2010 21:47:
> 
>> This is an SVN patch request.
>>
>> Type: Feature
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=6147
>>
>> Branches: trunk
>>
>> Problem:
>> Currently menus generated by the sitemap content element don't have an
>> active state.
>>
>> Solution:
>> Attached patch adds active (and current)
>>
>> Notes / How to test:
>> Just generate some sitemap elements and have a look if the current page
>> gets an active css class.
>>
>> Best regards,
> 
> Nice feature!
> 
> But this might cause some effects on sites which might already have
> adapted the tt_content.menu.20.default or might already be using
> class="active" for something else.
> 
> So for the sake of backwards compatibility, we will need to first copy
> the original setup.txt to "v4.4/setup.txt" and then do our
> modifications. When doing so, don't forget to adapt
> typo3/sysext/install/updates/class.tx_coreupdates_cscsplit.php, which
> takes care of choosing the correct version depending on the
> compat_version setting.
> 
> Could you take care of that, please?

yep, will do tomorrow.

susanne


More information about the TYPO3-team-core mailing list