Solved

Joomla - conditional menu item?

Posted on 2011-09-04
13
460 Views
Last Modified: 2012-05-12
Hello,
Let's say I have a Menu item: "Reseller prices"

- If somebody clicks on it who is not registered it will take him to the article "you are not registered..."
- But if somebody is registered the same Menu item will take him to the article "Prices"

Thank you
0
Comment
Question by:starhu
  • 5
  • 4
  • 4
13 Comments
 
LVL 12

Expert Comment

by:panagiotiss
ID: 36481069
one solution is to use a plugin to determine the user state and according to this to show what you want
0
 

Author Comment

by:starhu
ID: 36481253
What kind of plugin should I use? Is there a ready to download plugin for that?
0
 
LVL 12

Expert Comment

by:panagiotiss
ID: 36481258
0
 

Author Comment

by:starhu
ID: 36485379
This Multilingual registration approval looks great for registration approving but I still don't know how to set that the same menu item will show another article for registered and non-registered (I am quite a beginner in Joomla, sorry).
0
 
LVL 12

Expert Comment

by:panagiotiss
ID: 36485411
plugins are mainly for articles so you crate an article and it would be something like the followin

{plugin reg} text for registers {/plugin}
{plugin gr} text for others  {/plugin}
0
 

Author Comment

by:starhu
ID: 36485511
Is suppose this {plugin reg}  won't work for me now - I need to download a plugin to enable this feature?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 12

Expert Comment

by:panagiotiss
ID: 36485522
of course its just a test, download a plugin and follow the instructions
0
 

Author Comment

by:starhu
ID: 36487910
The only one I found was inline ACL Content Plugin, but it gave error after installation. :-(
0
 
LVL 8

Expert Comment

by:cloud9manager
ID: 36594266
You can also create a menu item that links to an Article.. and make it accessible to everyone. In that article you can link to your other content, which is only viewable by registered users.. add wording on that page to let people know that it is only for registered users (eg. registered users click here, if you're not ... then ... )..

IF someone who is not registered clicks that link, they will see an error saying they don't have permission to view that page.. you can also, as an added step, customize that error message to further educate users on what steps to take, etc. This is all without adding any more plugins, etc that must load before your site is usable.. ;)
0
 

Author Comment

by:starhu
ID: 36718652
The problem is that the customer want the menu item to be invisible (not to be there) for public users. :-(
0
 
LVL 8

Expert Comment

by:cloud9manager
ID: 36718704
In your orig. question you said you wanted a menu item called "Reseller Prices" and that if someone clicked on it, it would take them to an article saying they are not registered.. The menu would have to be visible for that to happen.. :)


Let's say I have a Menu item: "Reseller prices"

- If somebody clicks on it who is not registered it will take him to the article "you are not registered..."
- But if somebody is registered the same Menu item will take him to the article "Prices"

0
 
LVL 8

Expert Comment

by:cloud9manager
ID: 36718725
Also, which Joomla version are you using?
0
 
LVL 8

Accepted Solution

by:
cloud9manager earned 500 total points
ID: 36718830
If all you want is to hide them menu item.. then standard Joomla access levels applied to that menu item will work:

Go into your menu item and under Access Level on the main portion of the page, select 'Registered'.. this will hide the menu item for any user that is NOT registered... :)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This is our step by step to setting up and configuring a Joomla Install on a Windows 2003 Server. This is the perfect solution for an Intranet Website using Joomla. What you need (only use the following versions) : A fresh copy of Joomla http…
Have you ever wanted to use that sweet jQuery gallery plugin on your Joomla site but couldn't get it working due to jQuery conflicts or your lack of knowledge about what's under the Joomla hood? This article will step you through the process of impl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now