Module development: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 102: Line 102:
The format of the string consisting of 5 parts separated by ":"
The format of the string consisting of 5 parts separated by ":"
* Part 1: The element type (objecttype) where should the tab appears is a value from the following:
* Part 1: The element type (objecttype) where should the tab appears is a value from the following:
** 'thirdparty' to add a tab in third party view
{{TemplateModuleTabs}}
** 'intervention' to add a tab in intervention view
** 'order_supplier' to add a tab in supplier order view
** 'invoice_supplier' to add a tab in supplier invoice view
** 'invoice' to add a tab in customer invoice view
** 'order' to add a tab in customer order view
** 'product' to add a tab in product view
** 'stock' to add a tab in stock view
** 'propal' to add a tab in propal view
** 'member' to add a tab in fundation member view
** 'contract' to add a tab in contract view
** 'user' to add a tab in user view
** 'group' to add a tab in group view
** 'contact' to add a tab in contact view
** 'categories_x' to add a tab in category view (replace 'x' by type of category (0=product, 1=supplier, 2=customer, 3=member)
* Part 2: A code to identify tab to add (start with +) or to remove (start with -)
* Part 2: A code to identify tab to add (start with +) or to remove (start with -)
* Part 3: The title of the tab. This can be a hard read or better code translation in a file lang.
* Part 3: The title of the tab. This can be a hard read or better code translation in a file lang.

Navigation menu