PDA

View Full Version : Adding VB Templates to Existing PHP Pages


DaveG4
11-11-2015, 09:04 PM
Hi

I have my own PHP web site I want to add VB to. The site is written in PHP.

I would like to be able to add the output of some VB templates to existing PHP pages. It's just some basic templates - header and navbar.

Does anyone have any ideas on how to do this?

I have experimented with

$templater = vB_Template::create('header');
echo($templater->render());

but these don't pull in the right stylesheet so the output is a mess. If I link to the CSS file it helps a bit, but still a mess.

Thanks

Lynne
11-11-2015, 09:19 PM
This may help you out - https://vborg.vbsupport.ru/showthread.php?t=228112