Keyword

Is it possible to hide non-active categories

  • rufina
  • rufina's Avatar Topic Author
  • Offline
  • New Member
More
9 years 8 months ago - 9 years 8 months ago #135904 by rufina
Hello.

Is it possible to hide non-active categories in the dropdown in the frontend editing mode? This is a screenshot of what I mean:
http://joxi.ru/82Q7O4Bc84kkrd
Last edit: 9 years 8 months ago by rufina. Reason: typing error

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 8 months ago #135934 by Krikor Boghossian
Replied by Krikor Boghossian on topic Is it possible to hide non-active categories
You can use a CSS solution like:

option[disabled='disabled'] { display: none; } or you can override the form (check getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates ) and add a JavaScript solution which is supported by more browsers.

You can look at this thread in the forum. www.joomlaworks.net/forum/k2-en/22370-frontend-editing-hide-categories-which-are-disabled

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