creativeinflux / CodeIgniter-Flexi-Layout-Library

Create more usable and manageable themes and templates in CodeIgniter
1 stars 0 forks source link

Suggestion: create multiple variable names for the same partials #1

Closed bachilli closed 1 year ago

bachilli commented 11 years ago

Instead of creating multiple layouts, example: logged_in_template and logged_out_template to insert different "menus", you can use the same idea of Stencil template library: http://scotch.io/docs/stencil#slices (Custom paths);

creativeinflux commented 10 years ago

Partials is already a feature (http://creativeinflux.co.uk/lab/codeigniter_flexi_layout_library/partials.php) but doesn't include custom names or paths, shouldn't be too difficult to add in. Thanks