OK I forked & branched a twitter-extension that also renames the config() to twitter_config. works with database_mailer. Yay!
http://github.com/banane/radiant-twitter-extension On Mon, Mar 15, 2010 at 11:39 AM, banane <ban...@gmail.com> wrote: > Also- Haselwanter, your fix on the database_mailer is great, I'm using > it now. thanks for adding the admin UI thing, too, it's small but it's > nice to keep the log clean. > > One tip Alexis: setup your environment.rb to load the extensions that > are vital to your site last, so they override less important > extensions. It's config.extensions = [ "twitter", "database_mailer", > "mailer"] etc. one of the first lines of that file. > > Anna > > On Mon, Mar 15, 2010 at 1:03 AM, Haselwanter Edmund > <edm...@haselwanter.com> wrote: >> >> On 15.03.2010, at 08:14, banane wrote: >> >>> If it makesyou feel better Alexis, I've replicated the error. I have a >>> feeling it's due to both extensions setting the same constant. I'm >>> hunting it down. >> >> This is IMHO because both define a method "config" >> >> I did a fix on my mailer -fork and sent out a pull request >> >> http://github.com/ehaselwanter/radiant-mailer-extension/commit/22382ab1f44d4ccc900dc29bb938dcfbfb0bb0f9 >> >> And I would like to suggest to all extension developers out there to think >> twice on naming methods while >> including them to the core page! E.g. do some name-spacing in the method >> name to avoid conflicts. >> >> cu edi >> >> >>> >>> On Sun, Mar 14, 2010 at 6:36 PM, banane <ban...@gmail.com> wrote: >>>> I'm going to try installing both and see if I can see the conflict. >>>> >>>> Anna >>>> >>>> On Sun, Mar 14, 2010 at 4:03 PM, Alexis Masters <alexismast...@gmail.com> >>>> wrote: >>>>> Thanks for the suggestion, Anna. And your blog instructions are VERY >>>>> clear and helpful. Loved them. >>>>> >>>>> Sadly, though, the good old >>>>> >>>>> Mailer config is not valid (see Mailer.valid_config?) >>>>> >>>>> was back on the form pages after the twitter extension was installed, >>>>> so out it goes again until I can find a fix. >>>>> >>>>> DARN! I really want to use this, but on a site where forms are >>>>> crucial, they must take precedence. >>>>> ~ Alexis >>>>> ================= >>>>> Alexis Masters, author >>>>> http://www.alexismasters.com >>>>> >>>>> >>>>> >>>>> On Mar 14, 2010, at 3:24 PM, Anna Billstrom wrote: >>>>> >>>>>> Can you check the log and tell the detailed error message? Basically >>>>>> is it part of the smtp config or another setting. See troubleshooting >>>>>> in my blog post on actionmailee (which database mAiler uses. >>>>>> >>>>>> >>>>>> http://www.banane.com/2009/10/27/radiant-mailer-extension-installation-basics >>>>>> >>>>>> >>>>>> Sent from my iPhone >>>>>> >>>>>> On Mar 14, 2010, at 1:18 PM, Alexis Masters <alexismast...@gmail.com> >>>>>> wrote: >>>>>> >>>>>>> Hi All, >>>>>>> A little over a month ago, I inquired about what might be causing the >>>>>>> mailer extension to fail when the twitter extension is installed. >>>>>>> John >>>>>>> Polling answered that he had both extensions running together. >>>>>>> Thanks, >>>>>>> John! I assumed the conflict might be due to the fact that my site >>>>>>> used Radiant 0.8.1 while John's was on Radiant 9.0. >>>>>>> >>>>>>> I just upgraded a site from 0.8.1 to 9.0 and installed the twitter >>>>>>> extension after the mail forms were all working optimally. Once again >>>>>>> the dreaded "Mailer config is not valid (see Mailer.valid config?) " >>>>>>> appeared, and the twitter had to come out. Now I'm wondering if the >>>>>>> mailer extension is the culprit after all, or if the database_mailer >>>>>>> extension is causing the conflict due to the way it is configured. >>>>>>> >>>>>>> So this time, I ask, does anyone have the Twitter extension running >>>>>>> alongside Database_Mailer? >>>>>>> ~ Alexis >>>>>>> ================= >>>>>>> >>>>>>> On Feb 9, 2010, at 11:48 PM, John Polling wrote: >>>>>>> >>>>>>>> Hi Alexis, >>>>>>>> >>>>>>>> I've just finished a site using both extensions and there was no >>>>>>>> problem at all. I was using Radiant 0.9 and I did tweak the Twitter >>>>>>>> extension to use the user timeline rather than the search. Not >>>>>>> certain >>>>>>>> if that matters though >>>>>>>> >>>>>>>> Regards >>>>>>>> >>>>>>>> John Polling >>>>>>>> twitter: @pollingj >>>>>>>> >>>>>>>> On 10 Feb 2010, at 06:15, Alexis Masters <alexismast...@gmail.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hello All :-) >>>>>>>>> I am working on some sites that require BOTH the Twitter and the >>>>>>>>> Mailer extensions. I ran into an error, and in searching the list >>>>>>> for >>>>>>>>> that error, leaned that these two extensions didn't work together >>>>>>>>> as >>>>>>>>> of May 2009. >>>>>>>>> >>>>>>>>> Has anyone managed to get these working together or am I sunk??? >>>>>>>>> ~ Alexis >>>>>>>>> ================= >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Radiant mailing list >>>>>>> Post: Radiant@radiantcms.org >>>>>>> Search: http://radiantcms.org/mailing-list/search/ >>>>>>> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>>>>>> Radiant: http://radiantcms.org >>>>>>> Extensions: http://ext.radiantcms.org >>>>>> _______________________________________________ >>>>>> Radiant mailing list >>>>>> Post: Radiant@radiantcms.org >>>>>> Search: http://radiantcms.org/mailing-list/search/ >>>>>> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>>>>> Radiant: http://radiantcms.org >>>>>> Extensions: http://ext.radiantcms.org >>>>> >>>>> _______________________________________________ >>>>> Radiant mailing list >>>>> Post: Radiant@radiantcms.org >>>>> Search: http://radiantcms.org/mailing-list/search/ >>>>> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>>>> Radiant: http://radiantcms.org >>>>> Extensions: http://ext.radiantcms.org >>>>> >>>> >>> _______________________________________________ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> Radiant: http://radiantcms.org >>> Extensions: http://ext.radiantcms.org >> >> -- >> DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ >> >> >> >> >> _______________________________________________ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> Radiant: http://radiantcms.org >> Extensions: http://ext.radiantcms.org >> > _______________________________________________ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org