Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

<SOLVED>Manage connections in CB Content Module

12 years 1 month ago - 12 years 1 month ago #215598 by pepperstreet
Replied by pepperstreet on topic Re: Manage connections in CB Content Module

cberry1971 wrote: field name = cb_membertype
group name = Athlete


Try this in CBcontent module... CSS input area. Should hide the manageConnections menuItem, if the current user is of type "Athlete".

[cb:if cb_membertype="Athlete"] li.cbMenu_UE_MENU_MANAGEMYCONNECTIONS { display: none; } [/cb:if]

EDIT:
Sorry, i had a little typo error. I forgot to add the "li." in fornt of the class!



Alternative with jQuery:

[cb:if cb_membertype="Athlete"] $(".cbMenu_UE_MENU_MANAGEMYCONNECTIONS").hide(); [/cb:if]
Last edit: 12 years 1 month ago by pepperstreet.
The following user(s) said Thank You: cberry1971

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum