Skip to Content Skip to Menu

How to hide menu item depending on user's plan

  • startup
  • startup
  • OFFLINE
  • Posts: 113
  • Thanks: 7
  • Karma: 1
  • Add-ons
8 years 1 month ago #285665 by startup
Hi team,

I was wondering if it's possible somehow to hide a menu item from being displayed to a user depending on his / her subscription plan?

I understand it's possible to restrict access to a menu item if the ID is included in the URL, but I think the menu item is still shown, and the user is just shown a message that access is not allowed without a plan.

I also understand it's possible to show / hide modules from users depending on the plan. So they do or do not see them depending on their plan.

Like said, I wonder if menu items can somehow be hidden from users (in the same way modules can be hidden) depending on the user's plan?

Thank you very much!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
8 years 1 month ago - 8 years 1 month ago #285696 by krileon
No, Joomla needs to add a trigger to menu item loading before we would be able to remove menu items using CBSubs. We can only control its access by Itemid.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 8 years 1 month ago by krileon.
The following user(s) said Thank You: startup

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

Moderators: beatnantkrileon
Powered by Kunena Forum