Hello,
I'm working on a project that needs to be done in PHP, however, everything has to be done locally. To test files that I'm editing I have installed Xampp on my computer. As far as I can tell, I have installed everything properly. When I load up this page, the template appears but I get an error at the bottom saying:
Fatal error: Class 'Templates' not found in testfile.php on line 4
Here is the page:
<?php
require_once 'test/Templates.php';
Templates::$options['version'] = 3;
$page = Templates::factory('Fixed');
$page->titlegraphic = '<h1>Hello world</h1>';
$page->maincontentarea = '<p>Testing the main content area.</p>';
echo $page->toHtml();
?>
Any help with how to fix this would be greatly appreciated! Thanks in advance!