Keyword

pass for items

More
5 years 10 months ago #170957 by es74
pass for items was created by es74
Hello
I want to show the items front end but a guest or public user can see but not open the items. is it possible?
is there an extension for this?
thanks.
Attachments:

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

More
5 years 9 months ago #170988 by JoomlaWorks
Replied by JoomlaWorks on topic pass for items
You would have to create overrides for that module instance and use a few checks anywhere you have linked content.
<?php

$user = JFactory::getUser();
if ($user->guest) {
  // content for guests
} else {
  // content for logged in
}

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum