Customising HTML Output
Permalink Browser Info Environment
I would like to know if its possible for me to customise the HTML output for the form. I need fine control over the HTML output.
Regards
Nish
Regards
Nish
Type: | Pre-Sale |
---|---|
Status: | In Progress |
yes, you will want to create a custom override.
1) Copy /packages/proforms/blocks/proforms_display/view.php,view.js,&view.css over to /blocks/proforms/proforms_display/ (you will need to create the folders if they do not exist)
2) Copy /packages/proforms/elements/attribute/attribute_form.php over to /elements/attribute/
3) style/design the copied elements file as desired.
4) in your copied display view, change line 38 to:
This is considered 'non-destructive' and will not break when updating the addon.
Hope this helps.
ChadStrat
1) Copy /packages/proforms/blocks/proforms_display/view.php,view.js,&view.css over to /blocks/proforms/proforms_display/ (you will need to create the folders if they do not exist)
2) Copy /packages/proforms/elements/attribute/attribute_form.php over to /elements/attribute/
3) style/design the copied elements file as desired.
4) in your copied display view, change line 38 to:
Loader::element('attribute/attribute_form',array('ak'=>$ak,'bt'=>$bt,'value'=>$value,'review'=>$review));
This is considered 'non-destructive' and will not break when updating the addon.
Hope this helps.
ChadStrat
Support tickets are reviewed Mondays thru Fridays 9am to 9pm & Saturdays 9am to 12pm EST. A support team member will be following up with you as soon as possible.
RadiantWeb
http://goradiantweb.com