# MetaData Plugin

===============

This plugin will automatically handle the adding of meta data to models.

For CakePHP 2.5.x sites you will need to use $titleForLayout rather than $title_for_layout as Cake is overridding this variable somewhere, and this variable is considered deprecated.

## Component Settings

* `titleField` - Change this to the name of a field you want to be used to set the title if a meta title hasn't been set. Default "displayField".

* `titleIncludesSiteTitle` - Add the site title to the end of a meta title if no meta title has been set.

* `descriptionField` - Change this to the name of a field you want to be used to set the description is a description isn't set. Default "content". If this option isn't provided, the body and description field will be used.

* `descriptionlength` - Change this to update the lenght of the meta description. Default 200.

* `libClass` - Change the library that the component and helper uses to get the title/description/keywords.

* `overrideModel` - Change the model that is accessed to get fallback meta data from.
