- Posts: 12
COMMUNITY FORUM
SOLVED "add item" link public
- daniela de prisco
- Topic Author
- Offline
- New Member
Less
More
10 years 1 month ago - 10 years 1 month ago #131106
by daniela de prisco
SOLVED "add item" link public was created by daniela de prisco
Hello everyone.
Here is my question
I have set the permissions to "add new item" in the configuration of K2
Only registered users can create an item
I would like that - however - the link "add new item" was visible
I wish that by clicking on "add new item" the anonymous user was directed to the Login page
how I can do?
thank you
daniela
Here is my question
I have set the permissions to "add new item" in the configuration of K2
Only registered users can create an item
I would like that - however - the link "add new item" was visible
I wish that by clicking on "add new item" the anonymous user was directed to the Login page
how I can do?
thank you
daniela
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month ago #131107
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: "add item" link public
You can create a menu item called "Add a new item" which leads to your landing page and set the module are to be accessible only to non registered users.
<?php if(JFactory::getUser()->guest): ?>
// MODULE AREA OR CODE GOES HERE
<?php endif; ?>
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- daniela de prisco
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
10 years 1 month ago - 10 years 1 month ago #131108
by daniela de prisco
Replied by daniela de prisco on topic Re: "add item" link public
Thank you.
I followed your suggestion.
I created a user group "guest" and set the visibility of the module only for the guest group
here is a guide on how to do it, I hope it will be useful.
www.cmsmind.com/joomla-1-7-5-easy-steps-to-create-guest-only-access-to-menus-and-modules/
kind regards
daniela
I followed your suggestion.
I created a user group "guest" and set the visibility of the module only for the guest group
here is a guide on how to do it, I hope it will be useful.
www.cmsmind.com/joomla-1-7-5-easy-steps-to-create-guest-only-access-to-menus-and-modules/
kind regards
daniela
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month ago #131109
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: "add item" link public
Daniela,
The guest user group is Joomla!'s default way of saying non-registers users.
You don't need to create a new user group.
The guest user group is Joomla!'s default way of saying non-registers users.
You don't need to create a new user group.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.