PDA

View Full Version : How to reference new template?


58sniper
10-01-2002, 02:35 PM
I might be in the wrong frame of mind, but here's what I want to do....

I want to create a template that has some minor PHP logic (2 IF statements), and some resulting output (in this case, a couple of icons and links).

Since I'll be using this in several places, I figured the template was the best thing to use.

How do I then reference that template?

Say, I call the template "crap". Do I just use "$crap" where I want the resulting output to appear?

assassingod
10-01-2002, 04:03 PM
Wrong forum:)

But, no, you need to put a PHP line of code for that php varible to work. I know it, but I dont know where to put it >.<

Austin Dea
10-01-2002, 08:30 PM
Ask at vB.org. You 'd need to edit PHP files and make a variable that calls that template =P.