> Ok, I can't find the solution to this problem. I have 
> implemented the  
> suggestion from Oliver 
> [http://lists.radiantcms.org/pipermail/radiant/ 
> 2007-May/004927.html] to control extension load order, but my  
> customized render call isn't overwriting the default SearchPage one.  
> When I look at the debug log I only see the call for Page.find. I  
> went into Console and confirmed that CatalogSearchExtension is being  
> included via 'SearchPage.include? CatalogSearchExtension' so am I  
> missing something?

You can't override an existing method when you include a module. Methods in the 
concrete class override those in the included
modules.

What you need is to run a class_eval to include those methods instead of a 
module inclusion.

Dan.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to