Installing copy/move in 0.6.4

Hi, I’m trying to get the copy/move extension installed in 0.6.4, but
when I
try to run the rake, it aborts and says:
rake aborted!
The Shards extension is required and must be loaded first!

The weird thing though is that I’ve already installed the Shards
extension
and it shows up enabled in my extensions list. Am I missing a step
somewhere? Has anyone else had trouble getting copy/move running in
0.6.4?

Thanks!


-Grant B.
[email protected]

On Jan 5, 2008 6:08 AM, Grant B. [email protected] wrote:

Thanks!


-Grant B.

Hi Grant, open the environment.rb and set shards as first extension to
be
loaded:

config.extensions = [ :shards, :textile_filter, :markdown_filter, :all ]

Now it should work! I’m going to add this documentation in the README
file!
Let me know if its all ok!


Andrea F.
http://gravityblast.com - http://nimboo.net

Hi Andrea,

I knew there was probably a way to tell radiant what order to load
extensions, but I didn’t know how. That worked and now Radiant loads.

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:
2:
3:
4: <% if simple -%>
5: <%= icon %>

Trace of template inclusion:
/vendor/extensions/shards/app/views/admin/page/index.rhtml

On 1/5/08, Andrea F. [email protected] wrote:

somewhere? Has anyone else had trouble getting copy/move running in 0.6.4?
config.extensions = [ :shards, :textile_filter, :markdown_filter, :all ]
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


-Grant B.
[email protected]

Extracted source (around line #2):

1:


2:
3:
4: <% if simple -%>
5: <%= icon %>

Trace of template inclusion:
/vendor/extensions/shards/app/views/admin/page/index.rhtml

I believe this is fixed in a newer version of shards. I’m running
shards off the trunk and it works fine.

Cheers,
Marty

Beautiful - I updated to the trunk version and everything is working
beautifully. Thanks all for your help!
-gb

On Jan 5, 2008 9:14 PM, Marty H. [email protected] wrote:

I believe this is fixed in a newer version of shards. I’m running
shards off the trunk and it works fine.

Cheers,
Marty

Cool! :wink:


Andrea F.
http://gravityblast.com - http://nimboo.net

[email protected] writes:

Extracted source (around line #2):

1:
2:
3:
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 F. jadetower.com [US] +1 724-964-4515
馮傑仁 cubiclemuses.com [HK] +852 8123-7905