Bug #1269
Flickr sidebar plugin doesn't work
| Status : | New | Start : | 09/25/2008 | |
| Priority : | High | Due date : | ||
| Assigned to : | - | % Done : | 0% |
|
| Category : | sidebars | |||
| Target version : | - | |||
| Resolution : |
Description
The Flickr sidebar plugin is not working for me. It fails silently.
I'm using Typo 5.1.3 and Rails 2.0.2
The plugin fails because it can't find the FlickrAggregation class. The simplest solution is to rename the file that class is in.
Before: flickr_sidebar/lib/flickr.rb
After: flickr_sidebar/lib/flickr_aggregation.rb
Named this way, Rails can automatically find the FlickrAggregation class. An explicit require line can be added to flickr_sidebar/init.rb as long as it isn't:
require 'flickr'
because RAILS_ROOT/vendor/flickr/flickr.rb has priority in the load path.
