On behalf of Digital Pulp, I'm pleased to announce the release of  
another extension. We simply call it PageParts, and in my completely  
biased opinion it's the missing link for anyone who's struggled to  
represent complex content in Radiant.

PageParts allows you to manage rich content, objects, and associations  
through custom page parts that you define. Anything you can do with  
ActiveRecord and a form builder you can now do inside a Radiant page,  
thanks to PageParts.

PageParts extends the existing pagepart model to handle arbitrary  
content. For instance, there's a date picker and a single on/off  
checkbox which you can add to a page just like regular parts. These  
new parts get stored in the appropriate database columns: datetimes,  
booleans, &c.

But where PageParts really shines is with the ability to define your  
own custom parts. Your parts can manage complex data, create  
associations, and display themselves any way you want.

Here are some of the uses we've found for PageParts:

* Attaching file uploads to a page
* Managing associations between a page and other records
* Adding nested attributes to the page form
* Populating Radius tags using form elements instead of markup
* Serializing arbitrary data

There are working examples of each of these supplied with the  
extension. I encourage you to take a look and see what's possible with  
PageParts.

Many thanks to the Digital Pulp team and alumni who contributed to  
this extension: Kunal Shah, Alex Wallace, and Justin Blecher. We first  
extracted PageParts into its own extension one year ago today -- happy  
birthday, PageParts!

PageParts only runs on 0.9 and will be up on the extension registry  
after we gather some feedback. Let us know what you think!

http://github.com/digitalpulp/radiant-page-parts-extension
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org

Reply via email to