Keyword

Disable K2 Item List From Being Visible

  • Trevor J Ellis
  • Trevor J Ellis's Avatar Topic Author
  • Offline
  • New Member
More
2 years 10 months ago #179027 by Trevor J Ellis
Disable K2 Item List From Being Visible was created by Trevor J Ellis
Hello, we would like to stop the K2 item list from being visible as we have other sites that need to have some content be password protected.

How do we make the "/itemlist" pages on our sites hidden from public access? Example - how do we hide  josephfilmreviews.co.uk/itemlist ?

Thanks in advance.

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

  • Trevor J Ellis
  • Trevor J Ellis's Avatar Topic Author
  • Offline
  • New Member
More
2 years 10 months ago #179029 by Trevor J Ellis
Replied by Trevor J Ellis on topic Disable K2 Item List From Being Visible
Thanks for the speed of your response. Is there nowhere in the K2 settings (in Global Config>K2 etc...) where this can changed? We DON'T really like to edit files unless it's absolutely necessary for update compatibility reasons.

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

More
2 years 10 months ago #179051 by JoomlaWorks
Replied by JoomlaWorks on topic Disable K2 Item List From Being Visible

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

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

  • Trevor J Ellis
  • Trevor J Ellis's Avatar Topic Author
  • Offline
  • New Member
More
2 years 10 months ago - 2 years 10 months ago #179063 by Trevor J Ellis
Replied by Trevor J Ellis on topic Disable K2 Item List From Being Visible
Thank you for your response. However, we've found an easy solution by adding some custom.css code.

You put:
html.com_k2.view-itemlist {display: none;}

If you then have specific pages where you need to display an item list, then it's the following:
html.com_k2.view-itemlist {display: none;}
html.com_k2.view-itemlist.itemid-[ITEM-ID-HERE].[PAGE-NAME-HERE] {display: inline-block!important;}

Thanks in advance.
Last edit: 2 years 10 months ago by Trevor J Ellis.

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

More
2 years 10 months ago #179096 by JoomlaWorks
Replied by JoomlaWorks on topic Disable K2 Item List From Being Visible
Whatever works for you.

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