# \[ANN\] Another Shards update

**URL:** <https://www.ruby-forum.com/t/ann-another-shards-update/120342>\
**Category:** Radiant CMS\
**Created:** [November 15, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/ann-another-shards-update/120342 "2007-11-15T22:54:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [November 15, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/ann-another-shards-update/120342/1 "2007-11-15T22:54:58Z")

</div>

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

 and 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
