Keyword

K2 custom field visibility depending on user group?

  • Grommi
  • Grommi's Avatar Topic Author
  • Offline
  • New Member
More
13 years 1 month ago #99445 by Grommi
Hi guys,

is there a possibility to hide K2 custom fields for a certain user group? An example: if you are a registered user you can see all fields - if you are not registered/only visiting you can't see certain custom fields.

 

Thanks for you help.

 

Gromm

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

More
13 years 1 month ago #99446 by william white
Replied by william white on topic K2 custom field visibility depending on user group?
You can create a custom override, and edit item and category_item.php and assign it to the category in question.

You will have to make the edits in the foreach loop that displays the extra fields and test for both the users category and the extra field name to get this to work.

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


Powered by Kunena Forum