Keyword

K2 custom field visibility

  • Grommi
  • Grommi's Avatar Topic Author
  • Offline
  • New Member
More
13 years 1 month ago #99438 by Grommi
K2 custom field visibility was created 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 #99439 by william white
Replied by william white on topic K2 custom field visibility
Create an override

Edit either item.php or category_item.php whichever you are using to show extra fields

Add php statements in the foreach loop that displays the extra fields to test for what kind of user is looking and either hide or show the fields by extra field name

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


Powered by Kunena Forum