MCPcopy Index your code
hub / github.com/atomicon/codeigniter-theme

github.com/atomicon/codeigniter-theme @'1.0.0'

Chat with this repo
repository ↗ · DeepWiki ↗ · release '1.0.0' ↗ · + Follow
50 symbols 85 edges 11 files 16 documented · 32%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CodeIgniter Theme

This is a Theme library, heavily inspired by the wordpress/joomla theming system. Easily developing themes with all assets at one place.

Core Features

  • All themes and assets in one place
  • Overriding of views (by placing it in your view folder of your theme)
  • Automatic translating of relative URL's

(for example: you've download a theme from http://www.free-css.com, just drop it in your themes folder and rename index.html to index.php, it'll work right away)

Installing

Just copy the files from this package to the correspoding folder in your application folder. Then copy the 'themes' folder to the root of your codeigniter path (usually where the 'application' and 'system' reside) Make some adjustments to the config (if needed) And also (if using .htaccess) make the neccesary changes to allow readability on the 'themes' folder.

Example

I provided an example (theme_example) in the controllers and views folder. Copy these files to your application/controllers and application/views path Then call it as you normally would e.g. http://localhost/my_ci/theme_example

I provided this with theme switching (via a cookie, just so you know)

Themes

I included 2 themes.

1) Bootstrap, from twitter (this is the default theme) ( http://twitter.github.com/bootstrap ) 2) Skeleton ( http://getskeleton.com/ )

Both themes are excellent but if you want you can always drop-in your own themes.

Core symbols most depended-on inside this repo

config
called by 11
libraries/theme.php
render
called by 3
libraries/theme.php
set_theme
called by 2
libraries/theme.php
set_config
called by 2
libraries/theme.php
get
called by 2
libraries/theme.php
messages
called by 2
libraries/theme.php
content
called by 2
libraries/theme.php
view
called by 2
libraries/theme.php

Shape

Function 29
Method 19
Class 2

Languages

TypeScript56%
PHP44%

Modules by API surface

themes/default/js/bootstrap.js21 symbols
libraries/theme.php17 symbols
themes/default/js/bootstrap.min.js6 symbols
controllers/theme_example.php4 symbols
themes/skeleton/javascripts/tabs.js1 symbols
themes/default/functions.php1 symbols

For agents

$ claude mcp add codeigniter-theme \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact