Problem Loading Shards and Multisite

I just installed the new multisite extension, which is a nice
improvement over the old virtual sites extension. Nice work!

But now I have problems… while I was at it, I updated to the edge of
Radiant and everything broke. First of all I got an method not found
error on the “acts_as_list” call in the multisite extension. Changing
this to “acts_as_tree” makes it start, but then the shards extension
doesn’t seem to work. The config statement has no effect, the only way
to force shards to load is by renaming it… Still, it doesn’t seem to
have an effect…

Any help appreciated.

Keith BIngman

Keith,

The other day, I moved the rails2 branch into trunk (1.2 included
acts_as_tree and acts_as_list). I have not yet updated multi_site to
include the acts_as_list plugin, but I will as soon as I can.

Sean

Keith,

Give it a whirl now and let me know.

Sean

Sean,

Thanks. I figured it was something like that. But for some reason I am
still having problems with Shards. It runs, but nothing is injected
into the views. It also doesn’t honor the load order in the
environment.rb files.

Keith

Ah! It may be that I need to update Shards’ file types (.html.erb vs.
.rhtml). I’m also going to add some tests later that verify it actually
injects partials.

Sean

Keith,

We put attachment_fu in vendor/plugins of an extension in the Redken
project. However, with the way that 0.6.4 (not edge) loads
extension-stored plugins, we had some autoloading issues with it. I
imagine it should work better since they are in the normal plugin search
path now.

Sean

Of course, the new file endings may be messing it up. By the way, I am
really happy to see the use of haml in there. We have been writing all
of our extension views in haml lately.

As for the new vendor folder, I assume this deals with loading plugins
in extesnions. Have you tried moving attachment_fu there yet?

Keith