PDA

View Full Version : VB Template system


pein87
01-13-2009, 04:46 PM
Hi, I`m wondering were are the templates stored and how were able to use <if> tags in them. I was wondering if theres a dtd or xml scheme that were supposed to use to make plugins/products. I`ve noticed in some of them theres <install> but in others it wasnt there. I wold appreciate it if someone could shed some light on this for me.

Lynne
01-13-2009, 05:03 PM
Templates are stored in the database.

This may be of interest to you - Template Conditionals (http://www.vbulletin.com/docs/html/template_conditionals) as well as this - Creating a Product (http://www.vbulletin.com/docs/html/creating_a_product)

pein87
01-13-2009, 05:06 PM
So thats why I couldnt find the lil devils lol so is there a dtd or scheme for the xml language used for making plugins? thanks your ever so helpful

Lynne
01-13-2009, 05:11 PM
So thats why I couldnt find the lil devils lol so is there a dtd or scheme for the xml language used for making plugins? thanks your ever so helpful
Not that I know of. When you are in debug mode, you can add many things to your product and then when you export the product, all the xml is done for you. I haven't seen an article or anything detail all the different 'things' (sorry, I don't know the proper xml term) that can be output. That would be a useful article for someone to write though.

pein87
01-13-2009, 05:16 PM
lol dtd is the doctype like xhtml and html use a dtd and schemes are a better way fo showing what can be used in a certain tag and is more flexable then dtd`s are. yes that would be a hugely great article maybe I`ll pay to have it written. Thanks Lynne