| View previous topic :: View next topic |
| Author |
Message |
saurabhray
Joined: 30 Apr 2008 Posts: 45
|
Posted: Thu Jun 26, 2008 10:39 am Post subject: Want to show message "Access Denied" for nonregist |
|
|
Hi
I had added a link "add event" in my activities/events section but there is a problem occuring i.e., an unauthorised user can also add an event .As in the setting i already set Admin-->Calendar-->Public(view only) and registered users(normal).
Even though an unauthorised users able to add an event.I am just want to display a message that "Access Denied" for unauthorised users.
How can i do so..
Thanks
Saurabh |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Jun 30, 2008 3:35 pm Post subject: |
|
|
Hi,
You can do away with the menu item all together in Joomla's menu configuration. Set the menu item's access to Registered Users so that it is not visible to the public. |
|
| Back to top |
|
 |
saurabhray
Joined: 30 Apr 2008 Posts: 45
|
Posted: Tue Jul 01, 2008 11:43 am Post subject: Wants to show a message for unauthorised members |
|
|
Hi
I did the same as you told me but on setting the joomla menu items to "registered users" instead of public.i am unable to saw my "Activities/Events" section until i am login.
I am just want to show activities/events menu section for all users but for an unauthorised users i should display a message that "Access Denied " on clicking the "add event" link under the "Activities/Events" section.
I think u r getting me what i am saying...
Thanks
Saurabh |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Thu Jul 10, 2008 4:56 pm Post subject: |
|
|
| I'm sorry. I don't think I'm understanding. Is "Add Event" a joomla menu item or is it a link in one of your joomla studio pages? |
|
| Back to top |
|
 |
saurabhray
Joined: 30 Apr 2008 Posts: 45
|
Posted: Fri Jul 11, 2008 4:40 am Post subject: |
|
|
Hi
I used a link "Add Event" in my joomla studio page and i m just want to display a message "Access Denied" for unregistered users if it tries to add entry in our events then he/she should not have access to registered.Plz tell me how can i do so...
thanks
Saurabh |
|
| Back to top |
|
 |
|