When the module is installed, the plugin is not automatically discovered by the Feeds module.
The following code solves this issue. It will automatically clears the feeds plugin cache after enabling the module and the plugin will show up.
function parser_ical_enable() {
cache_clear_all('plugins:feeds:plugins', 'cache');
}thanks to @andrewlevine, see #862164: clear cache at installing the module
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | clear-cache-on-enable.patch | 351 bytes | wayfarer_boy |
Comments
Comment #1
wayfarer_boy commentedThanks Hanno. Was wondering if I'd installed this module incorrectly, but manually flushing all caches displayed the iCal parser option on the feeds edit page. Here's a patch of the code for submission.
Comment #2
hanno commentedthanks for submitting this as a patch.
Comment #3
hanno commentedComment #4
ekes commentedGood catch. Commited to CVS and in alpha-2.