Template Library Version 1.3 |
[eluser]N Narayanan[/eluser]
Hi, I have been reading the users guide given in http://williamsconcepts.com/ci/codeignit...rence.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 |
Messages In This Thread |
Template Library Version 1.3 - by El Forum - 08-16-2008, 05:28 PM
Template Library Version 1.3 - by El Forum - 08-16-2008, 11:26 PM
Template Library Version 1.3 - by El Forum - 08-16-2008, 11:46 PM
Template Library Version 1.3 - by El Forum - 08-16-2008, 11:56 PM
Template Library Version 1.3 - by El Forum - 08-17-2008, 12:10 AM
Template Library Version 1.3 - by El Forum - 08-17-2008, 12:14 AM
Template Library Version 1.3 - by El Forum - 08-17-2008, 07:17 AM
Template Library Version 1.3 - by El Forum - 08-17-2008, 09:08 AM
Template Library Version 1.3 - by El Forum - 08-17-2008, 01:27 PM
Template Library Version 1.3 - by El Forum - 08-17-2008, 06:13 PM
Template Library Version 1.3 - by El Forum - 09-10-2008, 09:43 PM
Template Library Version 1.3 - by El Forum - 09-19-2008, 06:11 AM
Template Library Version 1.3 - by El Forum - 09-19-2008, 07:23 AM
Template Library Version 1.3 - by El Forum - 10-02-2008, 12:08 AM
Template Library Version 1.3 - by El Forum - 10-02-2008, 07:42 AM
Template Library Version 1.3 - by El Forum - 10-31-2008, 11:55 PM
Template Library Version 1.3 - by El Forum - 11-01-2008, 12:15 AM
|