Welcome Guest, Not a member yet? Register   Sign In
How to set this up?
#3

[eluser]garrettheel[/eluser]
in /views/ make a new folder for each new theme you want. Then, when you load pages, you can use $this->load->view($theme, 'page');

Otherwise, you could do this with the template library I posted..

http://ellislab.com/forums/viewthread/99892/

Code:
$this->load->library('template');

// name of theme
$this->template->dir = 'dark';

// renders the page views/dark/page.php
$this->template->render('page');


Messages In This Thread
How to set this up? - by El Forum - 12-23-2008, 12:30 PM
How to set this up? - by El Forum - 12-24-2008, 07:01 PM
How to set this up? - by El Forum - 12-24-2008, 08:53 PM
How to set this up? - by El Forum - 12-24-2008, 09:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB