vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   VB Template system (https://vborg.vbsupport.ru/showthread.php?t=201645)

pein87 01-13-2009 04:46 PM

VB Template system
 
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 as well as this - 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

Quote:

Originally Posted by pein87 (Post 1711153)
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


All times are GMT. The time now is 01:39 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01029 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete