[Radiant] Re: Shards rake update error
Ben Morrow
morrow599 at yahoo.com
Sun May 4 17:41:29 CDT 2008
Thanks, Sean.
I was having trouble installing the Reorder extension, and thought the
cause might have been that I didn't run the update task on the
Shardsextension since it is required for Reorder.
I had the error: ## undefined method `page' for
#<Radiant::AdminUI:0x40804734>
The solution was to edit Radiant's environment.rb file:
config.extensions = [:shards, :all]
I found that information on the Reorder extension announcement
(http://www.ruby-forum.com/topic/132171). It was also available on the
"Using the Shards Extension" article in the Wiki
(http://wiki.radiantcms.org/Using_the_Shards_Extension).
In my defense, I had not yet read the Wiki article because I was really
only interested in installing Reorder and not in developing for Shards.
I did on the other hand read the README file in the Shards directory
prior to posting, so maybe adding the bit about how you *must* edit the
envirironment.rb file would help people who struggle with this in the
future.
Thanks once again for all your hard work!
Ben
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list