Canvas development: Difference between revisions

Jump to navigation Jump to search
fix canva sample url
(→‎Replace a creation form with your own template: Fix error path for file and order of params canvas)
(fix canva sample url)
 
Line 45: Line 45:
For example, we will use value "'''company@societe'''" for canvas parameter. This is a value of an already coded demo canvas template for third parties, not used in a standard usage of Dolibarr but provided as "demo". So URL to create a third party using this alternative template is now:
For example, we will use value "'''company@societe'''" for canvas parameter. This is a value of an already coded demo canvas template for third parties, not used in a standard usage of Dolibarr but provided as "demo". So URL to create a third party using this alternative template is now:


'''http://mydomain/societe/soc.php?action=create&leftmenu=customers&canvas=societe@company'''
'''http://mydomain/societe/soc.php?action=create&leftmenu=customers&canvas=company@societe'''


This means the form to create the third party will be found into template file:
This means the form to create the third party will be found into template file:
32

edits

Navigation menu