PDA

View Full Version : Integrating into .tpl system?


treelovinhippie
08-16-2007, 12:58 AM
hi

I'm hoping to integrate vB into phpizabi(.net)

However they (or the template I'm using) is a bit odd since the file structure is like this:

root
-index.php
-system
-modules
--home.php (the php file for the home.tpl template)
-theme
--default
---frame.tpl (this includes both the header and footer)
---templates
----home.tpl (this is the main page)

In other words the templates are all housed in /theme/default/templates/<folder name>/

The php files associated with those templates are at /modules/<folder name>/

And then the link structure to access that page are www.sitename.com/?L=<folder name>.<file name>

So I'm not sure whether to install vB into root/forums/ or into root/modules/forums/

And then I'm not sure how to include the header and footer etc

Any ideas?

(btw, the phpizabi forums/support kinda sucks, and they don't have an integration mod for vB)

cheers

EnIgMa1234
08-16-2007, 01:09 AM
You would need to tie it to the database.

Install vb in /forums

To include the header and footer just edit vb's header and footer templates with whatever html is in the phpizabi