[Radiant] how to install an extension?
Mark D. Anderson
mda at discerning.com
Fri Oct 5 00:43:12 CDT 2007
On Fri, 5 Oct 2007 15:08:43 +1000, "Daniel Sheppard" <daniels at thegroggysquirrel.com> said:
> > rb:266:in `load_missing_constant': uninitialized constant
> > ExternalRssExtension (NameError)
>
> I'll hazard a guess that external_rss isn't actually the name of that
> extension.
> If it was, there would be an external_rss_extension.rb file in the root
> dir of
> the extension, which would be responsible for defining
> ExternalRssExtension.
>
> Extensions are sensitive to being located in a correctly named directory.
> The
> directory should be named the same as the xxxxxx_extension.rb file in the
> root
> dir.
Good to know, but in fact there is a external_rss/external_rss_extension.rb file that
does define ExternalRssExtension.
And I have the same problem with the gallery extension.
So there must be something else fundamental I'm not doing.
Maybe it is a question of which "vendor" directory to use?
I'm putting them in the top level myproject/vendor/extensions, although
I've seen something about putting it under public?
-mda
More information about the Radiant
mailing list