[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 01:07:38 CET 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007693.patch
Type: text/x-patch
Size: 1471 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080228/a1387c18/attachment.bin 


More information about the TYPO3-team-core mailing list