Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8886419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:33:18+00:00 2026-06-14T21:33:18+00:00

Our client would like to have certain pages styled differently in a menu, depending

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:33:19+00:00Added an answer on June 14, 2026 at 9:33 pm

    You can use the USR state to apply a different wrap

    10 = HMENU
    10.1 = TMENU
    10.1.wrap = <ul>|</ul>
    10.NO = 1
    10.NO.wrapItemAndSub = <li>|</li>
    10.ACT < .NO
    10.ACT.wrapItemAndSub = <li class="menu-active">|</li>
    10.USR < .NO
    10.USR.wrapItemAndSub = <li class="menu-user">|</li>
    

    There is not combination for user and active, thus I recommend another approch.

    Modify the link depending on some page properties of the processed page:

    10.NO.wrapItemAndSub.override = <li class="menu-user">|</li>
    10.NO.wrapItemAndSub.override {
      # the list of matching fe groups
      if.value = 1,3
      if.isInList.field = fe_group
    }
    

    Also have a look at the power of TypoScript conditions. http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.7.0/view/1/5/#id553579

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our client would like to be able to edit a few pages on their
We are developing a web service in .Net, and our client would like the
Our client would like to use just one domain name for their site to
I would like to send a windows service program to our client that does
Our client's request is to have tables in PDF with rounded corner. I only
Our client is using Microsoft CRM 2011 outlook client and they have a unique
I have several .rdl reports designed for our client. However, they need new ones,
Hello good Stack Overflow people, I do have a business problem and would like
We have received a WSDL from our client that we use to communicate with
I would like to implement single sign-on (sso) in a management application we have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.