= Page Meta ABOUT ===== This extension adds fields to the edit page form so that meta-tag values can be stored with the page (for now just keywords and description). It also exposes a new tag: which allows you to render these values within a page, snippet, or layout. INSTALLATION ============ 1.) Copy this extension into an existing Radiant app: vendor/extensions/page_meta. 2.) Migrate the extension's changes to your db. rake db:migrate:extensions (for the development database) rake production db:migrate:extensions (for the production database) CUSTOM FIELDS ============= If you want to add your own, custom meta fields, it's pretty simple. First, you'll need to make your own /db/migrate file to add your field to the database -- they get added to the 'page' table and should start with 'meta_' if you want the tag to automagically work. Second, you'll need to add a line to the /lib/page_controller_meta_extensions.rb file. Just look at the initialize_extended_meta_rows method and add your own: @meta << {your bit goes here... Make sure that your newly added line references your new meta field in the db. (You'll get a pretty good idea what to insert if you look at the lines I've already got in there). TO DO ===== Testing. This is a pretty simple extension but it still needs more testing. I kind of figured I'd wait until the core team got the whole spec bit launched and that would be an excuse for me to tackle it then :)