Problem Loading Shards and Multisite

View: New views
7 Messages — Rating Filter:   Alert me  

Problem Loading Shards and Multisite

by Keith Bingman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Problem Loading Shards and Multisite

by Sean Cribbs-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 Bingman wrote:

> 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
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@...
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>  

_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Problem Loading Shards and Multisite

by Sean Cribbs-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Keith,

Give it a whirl now and let me know.

Sean

Keith Bingman wrote:

> 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
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@...
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>  

_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Problem Loading Shards and Multisite

by Keith Bingman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

On Feb 5, 2008, at 3:43 PM, Sean Cribbs wrote:

> 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
>
_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Problem Loading Shards and Multisite

by Sean Cribbs-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 Bingman wrote:

> 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
>
> On Feb 5, 2008, at 3:43 PM, Sean Cribbs wrote:
>
>  
>> 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
>>
>>    
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@...
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>  

_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Problem Loading Shards and Multisite

by Keith Bingman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


On Feb 5, 2008, at 4:21 PM, Sean Cribbs wrote:

> 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 Bingman wrote:
>> 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
>>
>> On Feb 5, 2008, at 3:43 PM, Sean Cribbs wrote:
>>
>>
>>> 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
>>>
>>>
>> _______________________________________________
>> Radiant mailing list
>> Post:   Radiant@...
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@...
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Problem Loading Shards and Multisite

by Sean Cribbs-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Keith Bingman wrote:

> 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
>
>
> On Feb 5, 2008, at 4:21 PM, Sean Cribbs wrote:
>
>  
>> 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 Bingman wrote:
>>    
>>> 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
>>>
>>> On Feb 5, 2008, at 3:43 PM, Sean Cribbs wrote:
>>>
>>>
>>>      
>>>> 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
>>>>
>>>>
>>>>        
>>> _______________________________________________
>>> Radiant mailing list
>>> Post:   Radiant@...
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>>
>>>
>>>      
>> _______________________________________________
>> Radiant mailing list
>> Post:   Radiant@...
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>    
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@...
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>  

_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant