Today I'm going to commit a few changes to the Shards extension that I want to warn you about. The primary change is that the SiteMap table is finally better parameterized. This will mean that, finally, you can add arbitrary columns and column headers. Basically, all <th> and <td> tags in the original source are separate. Here are the new region and partial names:
page.index.sitemap_headers title_column_header status_column_header modify_column_header (spans 2 columns) page.index.node title_column status_column add_child_column remove_child_column If I wanted to insert a column between the title and status, I would do something like this: page.index.add :sitemap_headers, 'foo_column_header', :before => 'status_column_header' page.index.add :node, 'foo_column', :before => 'status_column' Note that all your partials within the node region will receive the locals of page, level, and simple. I will also bump the version number up to 0.2, heh. I'm hoping these changes will make the sitemap easier to manipulate. Cheers, Sean _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
