Our client would like to have certain pages styled differently in a menu, depending on FE group access.
The idea is to give certain menu items, that are only visible to moderators, a little icon to make it clear to moderators that this page is only available to them.
I’m sure I could come up with a solution by implementing the logic in PHP, but I would prefer to solve this in pure TypoScript to make maintenance easier for future maintainers of the site.
I like the idea of applying a style through CSS based on the UID, but that seems like a maintenance hell in the long run.
You can use the
USRstate to apply a different wrapThere is not combination for user and active, thus I recommend another approch.
Modify the link depending on some page properties of the processed page:
Also have a look at the power of
TypoScriptconditions. http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.7.0/view/1/5/#id553579