View Single Post
Old 09-26-2003, 12:39 PM   #1
jirving
Green Mole
 
Join Date: Sep 2003
Posts: 10
Templates - cannot get index.php to display different one

HI I just downloaded and installed PhpDig, and the spidering worked great. However, I am trying to get index.php(from a virgin install) to show a different template other than the default one.

I've tried sending requests to the page ie.
index.php?template=corporate.html

and

index.php?template_demo=corporate.html

I've also tried changing the $template value in index.php. No go.
config.php has an entry for $template, but changing it has no effect.


I'm not even sure what $template_demo does. it doesn't get passed to a function, yet it is in the extract() array. The

What am I doing wrong. I see that the demo you have running on the site seems to work fine.

Pls advise

Last edited by jirving; 09-26-2003 at 12:42 PM.
jirving is offline   Reply With Quote