How do I go about adding another template to the Items layout selection?
Up to Table of ContentsThis FAQ applies to: 1.0, 0.4
I want to create my own views for the inventory item to be able to present my inventory cotnent in different way then included templates allow.
Create your own view by writing new template in the custom folder in the ZMI. You can create it from scratch or start with customizing the ib_item_default_view. But make sure your new template has different id from templates included in the InventoryBuilder package.
Then go to portal_types tool in the ZMI and open IBItem factory, append id of your template to list of supplied views named "Available view methods" and save changes.
When you return to the inventory settings you can find your template as one of available item layouts.
Then go to portal_types tool in the ZMI and open IBItem factory, append id of your template to list of supplied views named "Available view methods" and save changes.
When you return to the inventory settings you can find your template as one of available item layouts.