redirecting view based on useragent |
[eluser]markup2go[/eluser]
sooner, Réjôme's method allows you to extend the MY_Controller class, which you will probably end up doing anyways. Therefor the render() function will be available to whichever controllers you decide. So just do what he said and you will have a damn header and footer sir. http://codeigniter.com/wiki/MY_Controlle...ontroller/ You can also use a hook to accomplish something similar, but I prefer Réjôme's method myself. http://ellislab.com/forums/viewthread/57902/ |
Messages In This Thread |
redirecting view based on useragent - by El Forum - 12-22-2010, 11:50 AM
redirecting view based on useragent - by El Forum - 12-22-2010, 01:56 PM
redirecting view based on useragent - by El Forum - 12-22-2010, 04:08 PM
redirecting view based on useragent - by El Forum - 12-23-2010, 01:19 AM
redirecting view based on useragent - by El Forum - 12-23-2010, 12:04 PM
|