• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

I Like Kill Nerds

The blog of Australian Front End / Aurelia Javascript Developer & brewing aficionado Dwayne Charrington // Aurelia.io Core Team member.

  • Home
  • Aurelia 2
  • Aurelia 1
  • About
  • Aurelia 2 Consulting/Freelance Work

WordPress Like Templating And Theming For Codeigniter

Codeigniter · August 17, 2011

If there is one thing that I could name besides the extensible plugin system that I love about WordPress it would have to be the theming and templating system. Most of my projects consist of using WordPress or Codeigniter, and one thing that I find myself wishing Codeigniter had was a template and theming library that worked similarly to how WordPress works.

WordPress works on the premise of the following files’ header, footer, sidebar and index page as well as the existence of a style.css file that defines the themes meta info such as the name, description, author and descriptive tags. If Codeigniter had something like this in the form of a library, that would be awesome.

This leads me to my next point, I’m going to slowly develop a library for Codeigniter that does this. Many will argue Phil’s template library or Colin Williams template libraries are sufficiently good enough, and for many it probably is, but I personally find them to be too involved and not as simplistic as WordPress.

I’m wanting to do a near 1:1 port of the WordPress theming system, right down to the ability to have page specific templates which would basically mean if you have a controller called auth and a method in that controller called login, the controller by default (unless otherwise specified) would load the view login inside of a folder called auth in the current theme folder. A few frameworks already have something similar to this.

I’ve set up a Github project if anyone else would like to contribute, which can be found here. Any thoughts on this would be appreciated.

Dwayne

Leave a Reply Cancel reply

3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Hiren Danecha
Hiren Danecha
10 years ago

how to do a themeing in codeigniter

0
jack
jack
10 years ago

why don’t you work on ignitedpress, it would be such an awesome tool. theme’ing is such a pain in codeigniter currently.

if you need sponsorship/funding, email me, i can organize that

0
Dwayne
Dwayne
Author
10 years ago

Hey Jack,

I would love to work on IgnitedPress, but I’ve been so busy of late. Gotta pay the bills, haha. I will resume work on it though.

0

Primary Sidebar

Popular

  • Testing Event Listeners In Jest (Without Using A Library)
  • How To Get The Hash of A File In Node.js
  • Web 3.0 may have died before it even started
  • Smoke Detector Randomly Goes Off Early Hours of The Morning
  • NBN Box Installed Inside of Garage, Where Do You Put The Modem?
  • How to Copy Files Using the Copy Webpack Plugin (without copying the entire folder structure)
  • How To Install Eufy Security Cameras Without Drilling or Using Screws
  • How To Calculate A Javascript Date X Months Ago With Vanilla Javascript
  • How to Use Neural DSP Archetype Plugins With the Quad Cortex
  • Which Neural DSP Archetype Plugins Should You Buy?

Recent Comments

  • Casey Milne on A List of WordPress Gutenberg Core Blocks
  • Jay on Neural DSP Reveal Details About the Long-Awaited Quad Cortex Desktop Editor
  • john on Deno Raises $21M – but is anyone using it yet?
  • Oranges on How To Store Users In Firestore Using Firebase Authentication
  • Precious on Fixing Sequel Pro SQL Encoding Error For Imported SQL Files

Copyright © 2022 · Dwayne Charrington · Log in

wpDiscuz