Kohana 3 Xhtml and Head Module
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is a small but useful module for Kohana 3.

Some basic documentation here: http://wiki.github.com/glydetech/ko3.xhtml/
Forum Post here: http://forum.kohanaphp.com/comments.php?DiscussionID=4701

Version 0.1 (2010-01-25)
 - Basic operation
 - Xhtml singleton class
 - Head singleton class
 - Abstract Controller_Xhtml extending Controller_Template
 - Mapping controller $template to body
 Version 0.2 (2010-01-28)
 - Adjusted defaults handling, now global configs are overwritten by controller properties
 - Added an ajax property to the controller
 - Added check for template property to before()

Version 0.3 (2010-02-01)
 - Recoded to use extended views instead of extended template controller
Version 0.4 (2010-02-07)
 - Recoded to use main Xhtml and Head classes instead of extended views
 - Wrapped all inline scripts with CDATA
 - Adjust tags without content to use appropriate closing syntax based on content type
 - Added the file parameter to the Xhtml class to auto-load into the body tag
 - Adjusted to use only lang or xml:lang in html tag based on content type
 - Detected the accept headers for content type determination

Version 0.5.1 (2010-02-28)
 - Added defaults array to Head instance
 - Added chainable functions
 - Added merged and cached scripts and styles
 - Added controller for serving caches
 - Added tidy
Version 0.5.2 (2010-02-28)
 - Quick fix for caches using Kohanas default route setup

Version 0.5.3 (2010-07-22)
 - Modified Head to handle styles defined in an array with 'condition', 'file' and other attributes

Version 0.5.4 (2011-06-08)
 - Merged 3.1 version changes by emtou to master
 - Made all references to current request agnostic by detecting current version