Log in

View Full Version : Stupid phpinclude


bharvey42
02-14-2003, 06:46 PM
Is there any way to get a phpinclude to actually display inside the template?

I tried dumping the phpinclude before the template output and its before the template and the template is underneath.

Then when I moved it below it was below everything.

So I installed the limited php functionality template hack and then dumped the phpinclude in the template, and its back up at the top.

Any suggestions or ideas?

Dominick
02-14-2003, 07:25 PM
templates dont read php code.

what do you have that you need to use a php include for?

you could always declare whatever in the proper php file and call it with the declared variable

IE


if ( $activepm )
{
$templatesused.= ',home_pmloggedin';
}

bharvey42
02-14-2003, 07:50 PM
I need to include a php file from something i am working on integrating with vB.

Dominick
02-14-2003, 07:54 PM
not sure if this will work. but can you create another php file to upload the stdout to the template row in your forum dbase?

more over, there is a web template hack to integrate non vb pages into the vb style scheme...

bharvey42
02-14-2003, 10:36 PM
I don't need it integrated to the style scheme, I need it to be displayed within a template.