Welcome Guest, Not a member yet? Register   Sign In
New Layout/Template Library
#1

(This post was last modified: 05-20-2017, 03:58 AM by vincent78.)

Hello everyone,

I've just created a Layout/Template Library.
It allows you to:
  • manage your templates: include template, extend template ...
  • manage your views: set the title, set the template, add css and javascript files ...

It's really easy to install and use !

Get it on github: CodeIgniter Layout Library

Have a good day !
Vincent
Reply
#2

Hi,

Just had a quick look and although I am not overly keen on the methodology you have employed it certainly seems very cleanly coded and a very nice little library.

So thank you for sharing.

Best wishes,

Paul.
Reply
#3

Hello everyone,

The version 2.0.0 is now available !

Besides included/extended templates, you can now:
  • manage the metadata and the http-equiv data
  • manage the breadcrumb
  • manage the remote css and javascript assets
  • add tags to the css and javascript assets

Get it on github: CodeIgniter Layout Library

Have a good day !
Vincent
Reply
#4

(05-11-2017, 08:19 AM)By chance do you have a demo page with this template so others can see what it looks like? vincent78 Wrote: Hello everyone,

I've just created a Layout/Template Library.
It allows you to:
  • manage your templates: include template, extend template ...
  • manage your views: set the title, set the template, add css and javascript files ...

It's really easy to install and use !

Get it on github: CodeIgniter Layout Library

Have a good day !
Vincent
Reply
#5

Hello,

On my github, you'll find a small example which illustrates how works my library.

If you have any question  Huh , feel free to post it here  Smile

Vincent
Reply
#6

(This post was last modified: 02-18-2021, 03:30 AM by JessicaL.)

Thanks, really nice layout
192.168.o.1
Idea
Reply
#7

(10-28-2017, 10:23 AM)JessicaL Wrote: Thanks, really nice layout

Thanks
Reply
#8

(This post was last modified: 03-04-2018, 07:22 AM by vincent78.)

Hello everyone,

Version 3.4.1 released today: Management of the HTML boolean attributes like "async" or "defer"

Upgrading from 3.3.x to 3.4.1:
- replace the file ./application/libraries/Layout.php

Have a good day !
Vincent
Reply
#9

Hello everyone,

Version 3.5.0 released today: The default content section name is now a parameter in the config file

Upgrading from 3.4.1 to 3.5.0:
- replace the file ./application/libraries/Layout.php
- add the line
PHP Code:
$config['layout_default_content_section' 'main'
in the file ./application/config/config_layout.php

Have a good day !
Vincent
Reply
#10

Version 4.0.0 released

The concept of virtual view has been added.
Example: ./application/controllers/Welcome.php

Note: I didn't have time to test the code, I will do it next week

GitHub: https://github.com/vmoulin78/codeigniter-layout-library
Reply




Theme © iAndrew 2016 - Forum software by © MyBB