Mark D. Anderson wrote: > On Fri, 5 Oct 2007 15:08:43 +1000, "Daniel Sheppard" <[EMAIL PROTECTED]> 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 >
To the best of my knowledge myproject/vendor/extensions is correct. public is not. Cheers, Mohit. 10/5/2007 | 1:52 PM. _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
