[Radiant] installing copy/move in 0.6.4

J Aaron Farr farra at apache.org
Sun Jan 6 21:27:43 CST 2008


grant.blakeman at gmail.com writes:

> But after I created my home page, I get an error when I try to view
> the pages list. It looks like it has something to do with Shards - so
> it may not be Copy/Move, but I can't tell since this is the first time
> I've tried to use 0.6.4. The output of the error is below:
>
>  Showing vendor/extensions/shards/app/views/admin/page/_node.rhtml
> where line #2 raised:
>
> wrong number of arguments (0 for 1)
>
> Extracted source (around line #2):
>
> 1:     <tr id="page-<%= page.id %>" class="node level-<%= level %><%=
> children_class %><%= virtual_class %>">
> 2:       <td class="page" style="padding-left: <%= padding_left %>px">
> 3:         <span class="w1">
> 4: <% if simple -%>
> 5:           <%= icon %>
>
> Trace of template inclusion:
> /vendor/extensions/shards/app/views/admin/page/index.rhtml

Yes.  There's a bug in the 0.6.4 tag release of shards.  The line 2
above should be:

    <td class="page" style="padding-left: <%= padding_left(level) %>px">

There probably should be some note made on the wiki about this.

-- 
  J Aaron Farr     jadetower.com        [US] +1 724-964-4515 
    馮傑仁          cubiclemuses.com     [HK] +852 8123-7905  



More information about the Radiant mailing list