[Radiant] Re: Admin Tree Extension
Benny Degezelle
benny at gorilla-webdesign.be
Tue May 13 17:47:53 CDT 2008
Arik Jones wrote:
> Where can I find this extension? Cause I can't find it anywhere! I'd
> like to try it out.
The server were it was originally hosted seems to be down. I've dug up a
version i had lying around and put it on github here;
http://github.com/jomz/radiant-admin-tree-structure/tree/master
Keith Bingman wrote:
> Well, I wasn't loading the archive extension first, but once I do
> that, I get a no method error:
>
> Showing admin/page/_node.html.erb where line #10 raised:
>
> undefined method `url' for
> #<ArchivePageTreeStructure::ArchiveYearTreePage:0x25f0e04>
> Extracted source (around line #10):
>
> 7: <%= icon %>
> 8: <%= node_title %>
> 9: <% else -%>
> 10: <%= expander %><a href="<%= page_edit_url(:id => page)
> %>" title="<%= page.url %>"><%= icon %> <%= node_title %></a>
> 11: <%= page_type %>
> 12: <%= spinner %>
> 13: <% end -%>
> I will dig into it, but so far, I haven't gotten it to work. This is
> using the 0.6.6 Gem, not edge.
>
> Keith
I don't use the extension anymore as it was published, but re-used a big
part of it in another extension. I've also had to add an 'url' and
'status' method to get it to work under 0.6.6. The updated version on
github should work, confirmation appreciated.
Regards,
Benny
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list