[Typo3] Re: HMENU / TMENU wrap problem

John Greene john at grumpet.net
Sat May 28 17:02:48 CEST 2005


> 
> The stuff in the second menu is completely wrong.
> "before" is simple HTML and/or stdWrap properties.
> after is useless here. allWrap will do.
> 
> temp.menu_3 = HMENU
> temp.menu_3 {
>     1 = TMENU
>     1 {
>         expAll = 1
>         NO {
>             doNotShowLink = 1
>             allWrap.cObject = TEXT
>             allWrap.cObject {
>                 dataWrap = <div "{field:uid}Menu">|
>            }
>             wrapItemAndSub = |</div>
>         }
>     }
> 
>     2 = TMENU
>     2 {
>         noBlur = 1
>         NO {
>             before = <img
> src="/fileadmin/template/main/images/green_sq_bullet.gif"
> class="menu_bullet" />
>             allWrap = |<br />
>         }
>     }
> }
> 
> tested and working
> 

This works perfectly, thanks.  I understand the idiom, but I am suffering 
from the lack of a concise reference to available properties.  Anyway, 
thanks so much for the assistance, Joey and Christopher.

On a similar note, could someone suggest a way to use debugData in this 
example?  I've tried a number of things but no luck (and yes i changed 
[devIPmask]=*)

John



More information about the TYPO3-english mailing list