![]() |
Unable to render template file.
I was able to customize PHPdig to use the simple.html template and it works fine, but if I search again from the results page I get: Unable to render template file.
Any ideas? This is the only change I have made to the config.php file: // template file and style - checks to see that template is set to a valid value if (isset($_REQUEST['template_demo'])) { $template_demo = $_REQUEST['template_demo']; } $templates_array = array('black.html','bluegrey.html','corporate.html','green.html','grey.html ','lightgreen.html','linea r.html','newspaper.html','phpdig.html','simple.html','terminal.html','yello w.html','gaagle.html'); if(isset($template_demo) && in_array($template_demo, $templates_array)) { $template = "$relative_script_path/templates/simple.htm"; } else { $template = "$relative_script_path/templates/simple.html"; } Thanks for any help |
Looks like you are missing an "l" in the simple.html filename.
|
DUH
It seems I have caught a case of DUUUUHHHH
Thanks! |
All times are GMT -8. The time now is 09:56 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.