Administrators Nabeel Posted July 17, 2012 Administrators Report Share Posted July 17, 2012 Changed Files: m index.php m install/includes/Installer.class.php Merge pull request #72 from Vansers/master Forgot one more thing. View complete changes Download from here Link to comment Share on other sites More sharing options...
maxwaldorf Posted August 13, 2012 Report Share Posted August 13, 2012 Hey Nabeel ! Long time no see... I got an issue in admin section the headr / footer template are not loaded... The template file "/phpvms//admin/lib/layout/footer.php" doesn't exist in /phpvms/core/classes/TemplateSet.class.php on line 231 Notice the double slash... Link to comment Share on other sites More sharing options...
maxwaldorf Posted August 13, 2012 Report Share Posted August 13, 2012 I corrected the index.php in the admin folder but the absolute path does not work either... Link to comment Share on other sites More sharing options...
maxwaldorf Posted August 13, 2012 Report Share Posted August 13, 2012 (edited) Ok found how to resolve it : In admin/index.php : Remplace line 63 to 85 by : //load the main skin $settings_file = SITE_ROOT . 'admin/lib/'.$tplname.'/'.$tplname.'.php'; if(file_exists($settings_file)) { include $settings_file; } Template::setTemplatePath(SITE_ROOT.'admin/templates'); Template::setSkinPath(SITE_ROOT.'admin/lib/'.$tplname); $BaseTemplate->template_path = SITE_ROOT.'admin/lib/'.$tplname; $BaseTemplate->skin_path = SITE_ROOT.'admin/lib/'.$tplname; $BaseTemplate->Set('title', SITE_NAME); Template::Set('MODULE_NAV_INC', $NAVBAR); Template::Set('MODULE_HEAD_INC', $HTMLHead); $BaseTemplate->show('header.php'); flush(); MainController::runAllActions(); $BaseTemplate->show('footer.php'); rename header.tpl to header.php and the same for footer... Edit : check inside header.php and footer.php there are remaining tpl sources... Edit 2 : all modules are calling for tpl files... need to change it too Edited August 13, 2012 by maxwaldorf Link to comment Share on other sites More sharing options...
Recommended Posts