Place template folder out of application, using HMVC |
[eluser]TomTom[/eluser]
Hi all, I'm sorry if the question sounds dumb, I'm a total beginner and don't know if this is possible, or if it's a good idea at all. I have a fresh install of Codeigniter and I'm using HMVC with two modules, backend and frontend. I want to create a folder outside of application, in the site root, name it public and host themes and backend-themes folders in it. Like so: Quote:siterootBasically, I would like to somehow override the module's views folder and from controllers load a file at 'siteurl/public/themes/themefolder/index.php' as view. Is that possible at all? If it is, what are pros and cons? Thanks in advance. EDIT: Will this addon help: http://getsparks.org/packages/template/show |
Messages In This Thread |
Place template folder out of application, using HMVC - by El Forum - 05-12-2012, 08:57 AM
Place template folder out of application, using HMVC - by El Forum - 05-13-2012, 07:26 PM
Place template folder out of application, using HMVC - by El Forum - 05-14-2012, 02:46 AM
|