[TYPO3-core] RFC: Feature Request 4780: TypoScript - add stdWrap to TMENU/GMENU

Oliver Hader oh at inpublica.de
Wed Jan 24 14:13:54 CET 2007


Commited to Trunk.

olly


Oliver Hader wrote:
> This is a SVN patch request.
>
> Problem:
> TMENU/GMENU only accepts a normal wrap to put some code around a whole
> menu level. If the appearance of menus depend on their ancestors, it's
> not possible to get this information, e.g. on using a dataWrap.
>
> Solution:
> Allow stdWrap besides the present normal wrap for TMENU/GMENU.
>
> Comments:
> Please see the attached TypoScript file, that shows a working example.
>
> Documentation changes:
> Sections 10.4 and 10.7, as the first property in table:
> [Property:] stdWrap; [Data type:] stdWrap;
> [Description:]
> Wraps the whole item using stdWrap.
> Example:
> 2 = TMENU
> 2 {
>   stdWrap.dataWrap = <ul class="{register:parentProperty}">|</ul>
>   NO {
>     ...
>   }
> }
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=4780
>
> Branch:
> Trunk
>
>
> olly


More information about the TYPO3-team-core mailing list