Skip to content

grim-reapper/codeigniter-dynamic-assets-load-helper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Dynamic assets load helper for CodeIgniter

This helper add the functionality to add css and js from our view to the parent view.

Installation

  1. Copy helpers/asset_helper.php to your application/helpers folder and config/asset.php to your application/config folder

  2. Add helper in autoload file in application/config/autoload.php::

    $autoload['helper'] = array('load');

Usage

Add CSS

Add JS

To Header

To Footer

Print Header

Print Footer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%