saajjj
01-19-2010, 08:46 PM
Hello,
I want to release a product which adds a custom vB powered page to the navbar. I can't seem to figure out how some parts of the XML file are made.
The following is what I've got right now and needs to go into the product:
1x Query to create a table in the database
1x Template (to display the custom page)
1x Plugin (adds a button to the navbar)
3x PHP files (1 main file, 2 helper files)
What I've done till now:
Make product using: Plugin & Products > Manage Products > [Add/Import Product]
Put plugin inside product using: Plugin & Products > Plug-in Manager > [Edit] plugin > select Product in drop down box
Insert the database query for creating the table used by the product using: Plugin & Products > Manage Products > Edit product > Add New Install/Uninstall Code.
I can't figure out, where to:
Make the template a part of the product. I can see no setting which allow me to attach a template to any product.
Insert the 3 PHP files in the XML so that two go to the 'includes' directory and one goes into the root. Is this possible at all or will I have to add the PHP files and XML files to a zip and distribute that?
The standard response to a query such as mine has been to 'look at the XML of other products which are doing something similar'. Although I appreciate 'standing on the shoulders of giants' I would really like to know where those guys learnt this (I'm assuming this process is documented somewhere). I can't seem to find anything in the documentation. The current documentation is for vB3.x and the bit about adding a template to the product doesn't seem to be there at all.
Any help appreciated.
I want to release a product which adds a custom vB powered page to the navbar. I can't seem to figure out how some parts of the XML file are made.
The following is what I've got right now and needs to go into the product:
1x Query to create a table in the database
1x Template (to display the custom page)
1x Plugin (adds a button to the navbar)
3x PHP files (1 main file, 2 helper files)
What I've done till now:
Make product using: Plugin & Products > Manage Products > [Add/Import Product]
Put plugin inside product using: Plugin & Products > Plug-in Manager > [Edit] plugin > select Product in drop down box
Insert the database query for creating the table used by the product using: Plugin & Products > Manage Products > Edit product > Add New Install/Uninstall Code.
I can't figure out, where to:
Make the template a part of the product. I can see no setting which allow me to attach a template to any product.
Insert the 3 PHP files in the XML so that two go to the 'includes' directory and one goes into the root. Is this possible at all or will I have to add the PHP files and XML files to a zip and distribute that?
The standard response to a query such as mine has been to 'look at the XML of other products which are doing something similar'. Although I appreciate 'standing on the shoulders of giants' I would really like to know where those guys learnt this (I'm assuming this process is documented somewhere). I can't seem to find anything in the documentation. The current documentation is for vB3.x and the bit about adding a template to the product doesn't seem to be there at all.
Any help appreciated.