Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Themes Library : Locating and loading themes
#1
Sad 
(This post was last modified: 01-06-2021, 08:30 AM by php_rocs.)

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!
Reply
#2

(This post was last modified: 01-17-2021, 11:02 AM by kleber.)

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB