PDA

View Full Version : Template_demo broken in 1.8.1


RobM
07-09-2004, 03:00 AM
Hi,

The template selection (template_demo parameter) is ignored by search.php in 1.8.1.

I haven't fixed it properly as it's used in config.php, before phpdig_functions.php/phpdigHttpVars() is available.

My personal quickfix, insert:

$template_demo = $_GET['template_demo'];

before "$templates_array =" at line 76 in config.php.

Rob.

Charter
07-09-2004, 06:21 AM
Hi, and thanks. More changes were added to this (http://www.phpdig.net/showthread.php?threadid=1047) thread.