[Typo3] TMENU aTagParam class for parent menu item

Lyle E. Dodge lyle.dodge at wwc.edu
Tue Jul 5 06:48:16 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas,

> Look at:
> http://typo3.org/documentation/document-library/doc_core_tsref/Common_item_states_f/
> 
> there you have the property: IFSUB
> (dont forget the enable the menu property - IFSUB = 1)

Thanks!  That did the trick.  I'd bumped into IFSUB before, and I was
even enabling it, but this time I think my problem was a simple matter
of me using 'aTagParams' instead of 'ATagPrams' with a capital 'A'.  I
guess I'm obsessed with xHTML specifications. :)

Once I overcame that I of course needed to add an allWrap for IFSUB
cause it seemed to not apply the NO.allWrap--which makes sense now that
I see it in action.

Anyhow, it's working great now, and here's what I used:

- --
  lib.Menu.1 = TMENU
  lib.Menu.1 {
    expAll = 1
    wrap = <ul>|</li></ul>
    NO.allWrap = <li>|
    IFSUB=1
    IFSUB.ATagParams = class="hasSub"
    IFSUB.allWrap = <li>|
  }
- --

Thanks again!

- --Lyle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCyhEQmhQFf7/9+dcRAvPJAJ4uRxaAKG/w5InsiXtiD6nYfei2DgCfUVf2
Ponncg+cud9Tcd+WOCFCYGs=
=WCjC
-----END PGP SIGNATURE-----



More information about the TYPO3-english mailing list