Keyword

Remove unwanted category from select category field

  • Diego Maradona
  • Diego Maradona's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 10 months ago - 8 years 10 months ago #149017 by Diego Maradona
Hi,

I set user group to add item in Category A only. But in item form at front end, Category B also display at field option but cannot be select and it is in grey color. How can I completely hide that grey color category? See attached file.

http://i.imgur.com/SIdFz4C.png?1

i.imgur.com/SIdFz4C.png?1

Thanks.
Last edit: 8 years 10 months ago by Diego Maradona.

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

More
8 years 10 months ago #149030 by Lefteris
Hi,

You can do it using CSS:
option[disabled='disabled'] { display: none; }

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

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

  • Diego Maradona
  • Diego Maradona's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 10 months ago #149122 by Diego Maradona
Replied by Diego Maradona on topic Remove unwanted category from select category field
Hi,

Thanks...I will try that. What about item form at the backend? It's shows [**Unpublished category**]. How to remove that to show only published category?

Thanks.

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

More
8 years 10 months ago #149132 by Lefteris
You cannot remove that. It's there to inform you about the category state when you create an item.

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