On this documentation page it lists only a single argument for UmbracoHelper::Field, while inteelisense shows 12 additional ones. How/where am I supposed to get information about all the others?
Most of the additional parameters should be self explanatory. The majority also have default values. You could always look at Umbraco's source for the class to find out more information. I've added comments below to parameters which may not be self explanatory.
altFieldAlias: Field to be used if the current field is empty.
altText: Text to be used if the field is empty.
insertBefore: Text to insert before the field.
insertAfter: Text to insert after the field.
recursive: Recursively traverses up the content tree to use the field which has content.
Arguments for UmbracoHelper::Field
On this documentation page it lists only a single argument for UmbracoHelper::Field, while inteelisense shows 12 additional ones. How/where am I supposed to get information about all the others?
Hi Martijn,
Most of the additional parameters should be self explanatory. The majority also have default values. You could always look at Umbraco's source for the class to find out more information. I've added comments below to parameters which may not be self explanatory.
Thanks, Dan.
is working on a reply...