James Thompson wrote: > As part of a catalog extension I am working on I am trying to extend > the existing search extension. This is working as expected for the > most part by simply calling SearchPage.send :include, > CatalogSearchExtension and placing my work in lib/ > catalog_search_extension.rb under my extension. However, one thing is > behaving strangely. Although my additional tags are getting included > my customized render method seems to be getting left out. I am > wondering if extensions are loaded in alphabetical order which could > cause my custom methods to be overwritten when the main extension is > loaded. Is there a way to ensure my extension is loaded after the > search extension? Has anyone else encountered anything like this?
You should be able to use numeric prefixes on your extension directories to specify an arbitrary order in which they are loaded. http://dev.radiantcms.org/radiant/changeset/421 Oliver
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
