- Posts: 1
COMMUNITY FORUM
Restrict K2 Items Full Text - 2 years after
- Alex
-
Topic Author
- Offline
- New Member
Building a website for my children school. Basically, I need to restrict K2 Items Full Text to certain User Groups (Joomla Core or Community Builder, it's the same), so anyone can see introtext, but only registered users can see full text.
I found this thread but a) it's outdated and b) attached hack is no more downloadable. :(
Any idea of a workaround / hack? I can edit a PHP file but NOT yeat a pro of K2 (so, if you mention template, pls explain).
Joomla 2.5.8
Latest K2
Latest Community Builder (if you need it)
Pls, I really need this!! :huh:
Thanks in advance,
Alex
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
$user =& JFactory::getUser();
if (!$user->guest) {
display fulltext
} else {
display message to registar to readmore
}
Please Log in or Create an account to join the conversation.
- Gregwh
-
- Offline
- Senior Member
- Posts: 57
Alex wrote: Hi,
Building a website for my children school. Basically, I need to restrict K2 Items Full Text to certain User Groups (Joomla Core or Community Builder, it's the same), so anyone can see introtext, but only registered users can see full text.
I found this thread but a) it's outdated and b) attached hack is no more downloadable. :(
Any idea of a workaround / hack? I can edit a PHP file but NOT yeat a pro of K2 (so, if you mention template, pls explain).
Joomla 2.5.8
Latest K2
Latest Community Builder (if you need it)
Pls, I really need this!! :huh:
Thanks in advance,
Alex
There are extensions you can download/buy at Joomla.org to accomplish this.
Please Log in or Create an account to join the conversation.
- Caroline Bolingbroke
-
- Offline
- New Member
- Posts: 1
trinitronic.com/joomla/nice-content-access
Good luck!
Caroline
Please Log in or Create an account to join the conversation.