[TYPO3-english] Hilighting restricted pages in HMENU/TMENU
JoH asenau
info at cybercraft.de
Thu May 16 12:15:37 CEST 2013
Am 15.05.2013 16:24, schrieb Alban Cousinie:
> Hello everybody,
>
> As you know, when a frontend user is authenticated in Typo3, the
> restricted pages will show up in the TMENU. If he is not authenticated,
> those will be masked.
>
> Now I would like to experiment a different behavior : the restricted
> page would have different css style in the menu so the user can see very
> quickly these are restricted pages. Also they would appear with no lonk
> for unauthenticated users, so they know that they will have access to
> more information when they become members of the website.
>
> Does anyone have a clue of how to implement this ? I don't see any TS
> instruction for processing separatly pages based on their properties in
> the TMENU reference. At least I would like to add a class="members"
> attribute to menu entries of restricted access pages.
You want to take a look at this:
http://docs.typo3.org/typo3cms/TyposcriptReference/MenuObjects/CommonItemStates/Index.html
USR/USRRO is your friend ;-)
HTH
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
More information about the TYPO3-english
mailing list