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

Michael Stucki michael at typo3.org
Wed Jan 24 15:52:00 CET 2007


TSref is updated.

- michael

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

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list