Re: [TYPO3] problem with insertdata and wrap

2008-06-19 Thread lee perry
> Hi Lee > I totally understand your concerning...the choose to change the class of > the menubox is to meet the designer requirement to change background and > colors for any mainmenu item and display a submenu on different > background (not easy as kickstart!!!) > Anyhow your suggestion worke

Re: [TYPO3] problem with insertdata and wrap

2008-06-19 Thread luca
Hi Lee I totally understand your concerning...the choose to change the class of the menubox is to meet the designer requirement to change background and colors for any mainmenu item and display a submenu on different background (not easy as kickstart!!!) Anyhow your suggestion worked right but

Re: [TYPO3] problem with insertdata and wrap

2008-06-19 Thread lee perry
hey luca, > Lerry, > I understand > > ## subMenu [Begin] > lib.subMenu = HMENU > lib.subMenu.entryLevel = 1 > lib.subMenu{ > stdWrap.dataWrap = | > } Do you really want to wrap your whole subMenu with a different className or different id on every page? Than use {page:uid} - with this dataWrap

Re: [TYPO3] problem with insertdata and wrap

2008-06-19 Thread luca
Lerry, I understand ## subMenu [Begin] lib.subMenu = HMENU lib.subMenu.entryLevel = 1 lib.subMenu{ stdWrap.dataWrap = | } lib.subMenu.1 = TMENU lib.subMenu.1 { stdWrap.dataWrap = | } lib.subMenu.1.NO { allWrap = | } lib.subMenu.1.ACT = 1 lib.subMenu.1.ACT.allWrap = | ## subMenu [End] thi

Re: [TYPO3] problem with insertdata and wrap

2008-06-19 Thread lee perry
hey luca, at the time you wrap the TMENU (lib.subMenu.1) but you can wrap your HMENU (lib.subMenu) as well: lib.subMenu.stdWrap ... just try it. and if this doesn't work - what kind of id (uid/pid/...) do you want to insert? lee > Hi Lee > thanks. It worked but with pid!! > Just a little q

Re: [TYPO3] problem with insertdata and wrap

2008-06-19 Thread luca
Hi Lee thanks. It worked but with pid!! Just a little question...is there a way to wrap the submenu module also if there is not any item in the menu? in this way i can display the box also whe is empty. Thank you again! Luca lee perry ha scritto: > Ciao Luca, > > just try this one: > > stdWr

Re: [TYPO3] problem with insertdata and wrap

2008-06-19 Thread lee perry
Ciao Luca, just try this one: stdWrap.dataWrap = | instead of: stdWrap.wrap.insertData = 1 stdWrap.wrap = | Greetings, Lee > Hi > I've just started with typo3 and I'struggling to get throught with my > first job with it. > I have a problem wrapping a menu with a div and using insertdata to >

[TYPO3] problem with insertdata and wrap

2008-06-19 Thread luca
Hi I've just started with typo3 and I'struggling to get throught with my first job with it. I have a problem wrapping a menu with a div and using insertdata to customize the box according to the page we are visiting. This is my code ## subMenu [Begin] lib.subMenu= HMENU lib.subMenu.entryLevel =