Keyword

extra fields hide from types of users

  • pedro rodrigues
  • pedro rodrigues's Avatar Topic Author
  • Offline
  • New Member
More
13 years 9 months ago #91407 by pedro rodrigues
extra fields hide from types of users was created by pedro rodrigues
Hey people,

 

I'm trying to do an alteration on my site and k2.I have 3 types of users and the idea is to block the access of same of the extra fields to same of the type’s of users just like the category are now.

 



 

I first try finish like the image but is not working and I have no more ideas to pot this to work.

 

This alteration is in the usergroup views files

 

Same great programmer helps please?

Sorry for the bad english

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

  • pedro rodrigues
  • pedro rodrigues's Avatar Topic Author
  • Offline
  • New Member
More
13 years 8 months ago #91408 by pedro rodrigues
Replied by pedro rodrigues on topic extra fields hide from types of users
got it
if someone need help to make the change just ask
is not as well as the original idea but it works perfectly

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

More
13 years 8 months ago #91409 by william white
Replied by william white on topic extra fields hide from types of users
Did you use something similar to the file here

If you will please post the file

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

  • pedro rodrigues
  • pedro rodrigues's Avatar Topic Author
  • Offline
  • New Member
More
13 years 8 months ago #91410 by pedro rodrigues
Replied by pedro rodrigues on topic extra fields hide from types of users
no the change has to be done in the following files:
components/com_k2/models/item.php
administrator/components/com_k2/controllers/extraFields.php
administrator/components/com_k2/lib/k2parameter.php
administrator/components/com_k2/models/extrafields.php
administrator/components/com_k2/table/k2extrafield.php
administrator/components/com_k2/views/extrafild/view.html.php
administrator/components/com_k2/views/extrafild/tmpl/default.php
administrator/components/com_k2/views/extrafields/tmpl/default.php
remember that you must change the database to record the changes.
if you choose to have the files send me your email
William White said:
Did you use something similar to the file here

If you will please post the file

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


Powered by Kunena Forum