CodeIgniter Forums
Codeigniter Themes Library : Locating and loading themes - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Codeigniter Themes Library : Locating and loading themes (/showthread.php?tid=78347)



Codeigniter Themes Library : Locating and loading themes - Suggestible Fruit - 01-06-2021

I'm working on an already previously running stack using CodeIgniter.

I was tasked with locating and loading a theme along with css and js files which are stored in a header and footer file.
Previously I was using this post for assistance: Codeigniter Theme's Library (stackoverflow.com/questions/9627947/code-igniter-themes-library)
My question: Where inside of a CodeIgniter stack are themes, styling & js usually loaded/instantiated for the views?


Appreciate all who take time out of their day to assist!


RE: Codeigniter Themes Library : Locating and loading themes - kleber - 01-17-2021

Hi.

On my systems, I like to create the following structure:

application
system
**public (where the domain is pointed)
****index.php
****themes
******theme_a
******theme_b

It seems that in this post you mentioned, the 'themes' folder is located inside the application/views. What is not wrong.