Forum: Radiant CMS Extending an Extension

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
James Thompson (Guest)
on 2007-05-23 18:51
(Received via mailing list)
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?

James Thompson
IT Director & Web Programmer
Stewart & Associates, Inc.
550 West Kentucky Street
Louisville, KY 40203
(502) 583.5502
Oliver B. (Guest)
on 2007-05-23 19:10
(Received via mailing list)
James Thompson wrote:
> 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.

This topic is locked and can not be replied to.