• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skin/Theme Implementation Method

#1
[eluser]-Gareth[/eluser]
Hello,

I was just wondering what method would be best to implement a user-choosable skin/theme into an application.

An easy way would be to just put the folders I have now into a folder (one level deeper than views) and then when I load a view I can just stick the folder/skin name and all would be good.

However, I'd like to have the skins folder outside of the application folder (I have also moved the application folder out of the system folder, too), so it would be like:

- Root Dir
- -- Application
- -- Skins
- -- System
- -- Uploads
- -- User Guide

For example...

How would I go about doing something like that?

Thanks.

#2
[eluser]Bainzy[/eluser]
Hello,

Right the easiest way that i have found so far is to use the Template library found here

http://www.williamsconcepts.com/ci/codei...rence.html

I have found this really useful.

Hope this helps
Chris

#3
[eluser]Phil Sturgeon[/eluser]
My Template library does the same sort of thing and has great support for themes and modules. The documentation is not quite as extensive as Colins, but (for me at least) is much easier to work with.

#4
[eluser]-Gareth[/eluser]
Thanks! I'll look into both Smile


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.