Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Simple Template Library

Yesterday I coded a simple template library for my personal use, I think it may help someone else, so I post the Github link here.


If you ever used WordPress to build websites, you may know WordPress uses something like wp_head() , wp_footer() to manage the HTML output, this library does the same thing and it is more light-weight and simple.

[font=Consolas, 'Liberation Mono', Menlo, Courier, monospace]<!DOCTYPE html>
<html lang="en">
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <title><?= CI_title() ?></title>
   <?= CI_head() ?>

<body<?= CI_body_attr() ?>> 

some thing here

[font=Consolas, 'Liberation Mono', Menlo, Courier, monospace]<?= CI_footer() ?>

Check out my Git to read full document about how to use it.
Personal blog: https://terryl.in
My personal project is called Dictpedia is currently using Codeigniter 3, welcome.

Messages In This Thread
Codeigniter Simple Template Library - by allenlee - 05-11-2016, 10:32 AM

Theme © iAndrew 2016 - Forum software by © MyBB