- Posts: 7
COMMUNITY FORUM
Block K2 component views or layouts
- Orestis Polychronakis
- Topic Author
- Offline
- New Member
Is there any way to block some views or layouts of the k2 component. Lets say I only want the item view to be available only and not the category view. Is there any way to do this through the back end without altering code or filenames?
Thanks
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
- Posts: 3722
YourSite.com/index.php?option=com_k2&view=
itemlist&layout=category&task=category&id=7&Itemid=23
into their browzer and seeing a category view?
I do not know of any k2 settings except public and registared that restrict what is served out
You may be able to create an override and assign it to the category in question and delete the category.php file from the override, but an error page would result
If you have sef turned on, things may get more complicated
Please Log in or Create an account to join the conversation.
- Orestis Polychronakis
- Topic Author
- Offline
- New Member
- Posts: 7
Yes maybe that could be a solution. But how can I configure, lets say the category view, to be rendered only in the registered users?William White wrote: Are you trying to keep someone from typing something like
YourSite.com/index.php?option=com_k2&view=
itemlist&layout=category&task=category&id=7&Itemid=23
into their browzer and seeing a category view?
I do not know of any k2 settings except public and registared that restrict what is served out
You may be able to create an override and assign it to the category in question and delete the category.php file from the override, but an error page would result
If you have sef turned on, things may get more complicated
Thanks
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Orestis Polychronakis
- Topic Author
- Offline
- New Member
- Posts: 7
Please Log in or Create an account to join the conversation.