Welcome Guest, Not a member yet? Register   Sign In
Phil Sturgeon's CI Template Library
#1

[eluser]Unknown[/eluser]
I have everything set up correctly with the Dwoo parser and I've changed my template layout config to index and the template theme config to admin so it should be /application/themes/admin/index.php. It's loading the test views but it's giving me an error.

Quote:Unable to load the requested file: index.php

The only code I have is

Code:
public function index()
{
  $this->template->title('Elabra')->build('welcome_message');
}

My themes/admin/index.php file contains

Code:
<!DOCTYPE html>
&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;{$template.title}&lt;/title&gt;
  {$template.metadata}
&lt;/head&gt;
&lt;body&gt;
  <h1>{$template.title}</h1>
  {$template.body}
&lt;/body&gt;
&lt;/html&gt;





Theme © iAndrew 2016 - Forum software by © MyBB