Developer forum

Forum » Templates » HR: Using Custom fields in template

HR: Using Custom fields in template


Reply

Hi,




In the HR module you are able to make custom fields for employees. I used @DwTemplatetags to see which tags I can use on the HR template(s) but the custom fields are not listed. Which tag do I use to display the custom field(s) in the template? I've tried !--@Systemfieldname-- (where systemfieldname is the name for the custom field) but this doesn't work. 


Replies

 
Reply
Hi



In the presentationlayer the customfields are call


!--@AccessCustomField_xxxx--, where xxxx is the systemname you have given the field in the administration.


In the editmode you get all the fields out by using


!--@FrontendEditCustomFields--


have a look at the standart templates, they show the concept pritty nicely.


Have fun


/Kenneth



 


 
Reply
Thanks! It works!

 





 

You must be logged in to post in the forum