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

Oliver Hader oh at inpublica.de
Tue Jan 23 14:37:40 CET 2007


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004780.patch
Type: text/x-diff
Size: 982 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070123/44857c51/attachment.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004780.typoscript.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070123/44857c51/attachment.txt 


More information about the TYPO3-team-core mailing list