[eluser]jaswinder_rana[/eluser]
Hi:
i am planning on adding a feature to my site where users can select which template they want.
What I am not sure about is where to put templates and directory structure?
I could use include() statements and create it but I was hoping to stick with CI structure. Right now (if nothing works) then my plan was
Code:
-system
--application
---views
----templates
-----template_1
------template_1.php
-public_html
--assets
---modules (Using http://codeigniter.com/wiki/Asset_Helper/)
----template_1
-----css
-----image
-----js
Is that right way to go?
Also, when users select templates, right now, they select it from drop down which is populated after reading templates directory in views.
Is that right method or should I store template list in table?