Hi, I have been reading the users guide given in
http://williamsconcepts.com/ci/codeigniter/libraries/template/reference.html
It is very good, however I am unable to test them due to the following reasons, I would request Colin Williams to look into this issue,
I have 2 issues,
My reference is with respect to the following code in the user manul.
1) Issue 1
class Page extends Controller {
function Page()
{
parent::Controller();
}
function index()
{
// Write to $title
$this->template->write(‘title’, ‘Welcome to the Template Library Docs!’);
// Write to $content
$this->template->write_view(‘content’, ‘post’);
// Write to $sidebar
$this->template->write_view(‘sidebar’, ‘common/sidebar’);
// Render the template
$this->template->render();
}
Take a look at the bold items in Blue color, this command is expecting me to have a post.php in the views folder, however this file is neither present in the template download nor described in the user manual. The same case is with respect to common/sidebar.php.
2) Issue 2
My output does not have colors / borders as given in the user guide, is there any css file I need to keep? or is there anything else I am missing?
I would appreciate if some one can help me to address the above.
Regards
Narayanan