Skip to content

Releases: REJack/codeigniter-twiggy

v0.9.8: enhance assets function

07 Nov 01:03
Compare
Choose a tag to compare
  • tested and reactivated CI3 Exceptions adaption
    • added message to twiggy->set in show_exception()
  • added abilty to add safe functions (auto escaped)
    • added config option register_safe_functions & register_safe_filters (default: array())
  • enhance assets function
    • add abilty to create group assets
    • create assets helper to render group assets
    • added config option render_all_assets (default: false)

v0.9.7

05 Nov 03:33
Compare
Choose a tag to compare
  • added abilty to auto-register all user defined functions
    • config option use_user_defined_functions (default: false)
  • added twig v2 compatibility
  • renamed MY_Exceptions.php to MY_Exceptions_.php
    • it's doesn't works with this it doesn't get loaded, still WIP

v0.9.6

07 Apr 15:13
Compare
Choose a tag to compare
  • added Todo File 😄
  • fixed CI errors templates and added ariable system_register_globals & system_register_functions for the errors

v0.9.5

06 Feb 17:49
Compare
Choose a tag to compare
  • added alternative config load for MY_Exceptions.php
  • added meta & assets global array auto load
  • changed codestyle of layout
  • added 3 layouts for errrors & 10 views for errors
  • added MY_Exceptions for override CI errors with Twiggy

v0.9.4

06 Feb 15:29
Compare
Choose a tag to compare

Whats new/changed:

  • changed Copyright & Author information
  • created global meta & asset array
  • removed notes from library
  • checked codestyle with CI3's PHP Style Guide
  • reordered config
  • added 2 new config options (global_meta & global_asset)

0.9.3

28 Jan 20:00
Compare
Choose a tag to compare
  • changed version anywhere to 0.9.3
  • fixed config/autoload.php
  • added asset() for dynamic css & js loading

0.9.2

18 Dec 13:43
Compare
Choose a tag to compare

Changes:

  • fixed a error with the 'old_way' for load_twig_engine
  • fixed options defintions (removed ' from TRUE & FALSE)

0.9.1: added non-composer support

12 Feb 12:41
Compare
Choose a tag to compare
  • Added non-composer support
    • Moved Twig_Autoloader::register(); into the library __construct.
    • Added load_twig_engine to config.
    • Added old_way to load_twig_engine (for easy moving from edmundask/codeigniter-twiggy)

0.9.0: changes from carloscarcamo

12 Feb 12:41
Compare
Choose a tag to compare
  • Removed load config in the autoload files
  • Added config autoload in the library
  • Added Auto-reigster globals config array
  • Removed twig. (now any user need to add twig manual over composer)

0.8.5: last changes from edmundask

12 Feb 12:46
Compare
Choose a tag to compare
  • Changed display() and render() methods a little bit to accept a parameter. From now on you can set the template file without the template() method. For example: $this->twiggy->display('admin/dashboard'); instead of $this->twiggy->template('admin/dashboard')->display().
  • Added rendered() method to check whether a template has already been rendered/displayed using display() or render().
  • Fixed a bug where calling func_get_args() function as a parameter in another function would cause a fatal error: Fatal error: func_get_args(): Can’t be used as a function parameter in <...>.