[Radiant] Extending an Extension
Oliver Baltzer
oliver.baltzer at nobits.com
Wed May 23 10:08:50 CDT 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
Url : http://lists.radiantcms.org/pipermail/radiant/attachments/20070523/4566cadd/signature.bin
More information about the Radiant
mailing list