[TYPO3-core] RFC: Bug #7693: New page wizard ignores "hide in menu" flag for page icons

Oliver Hader oliver at typo3.org
Thu Feb 28 22:29:44 CET 2008


FYI: Committed to SVN:
* TYPO3_4-1 (rev. 3318)
* TYPO3_4-2 (rev. 3319)

olly


Oliver Hader schrieb:
> Hi Christian,
> 
> Christian Kuhn schrieb:
>> This is a SVN patch request.
>>
>> Type: Bugfix
>>
>> Branches: 4.2 & 4.1
>>
>> Bugtracker reference:
>> http://bugs.typo3.org/view.php?id=7693
>>
>> Problem:
>> The wizard for new pages ignores the "hide in menu" flag and shows the 
>> default pages.gif icon.
>>
>> Solution:
>> Add "nav_hide" to the list of fetched db fields in 
>> class.t3lib_pagetree.php
> 
> Thanks for the patch. I moved the 'nav_hide' value to be added in 
> t3lib_pageTree::init() because the field 'nav_hide' is defined in sysext 
> cms (just a nit).
> 
> The class variable $fieldArray is only used in 
> (t3lib_treeView)::getDataInit() as fields to be selected in the SQL query.
> 
> +1 on reading and testing
> 
> olly
-- 
Oliver Hader
TYPO3 Core Team


More information about the TYPO3-team-core mailing list