Canvas development: Difference between revisions

Jump to navigation Jump to search
Line 36: Line 36:
* '''tabname''' is name of tab or page where initial form was stored. In most cases it is value "card".   
* '''tabname''' is name of tab or page where initial form was stored. In most cases it is value "card".   


For example, we will use value "'''societe@companies'''" 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. So URL to create a third party using this alternative template is now:
For example, we will use value "'''societe@companies'''" 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@companies'''
'''http://mydomain/societe/soc.php?action=create&leftmenu=customers&canvas=societe@companies'''

Navigation menu