Closed (won't fix)
Project:
Simplenews Scheduler
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2009 at 17:09 UTC
Updated:
18 Apr 2009 at 06:33 UTC
Instead of using a filter to insert a view into the node body, I'm using PHP directly, but the input format of the created nodes is set to Full HTML instead of PHP Code. As a result my content disappears.
Comments
Comment #1
dallas.masters commentedEdit simplenews_scheduler.module and remove the section that redefines the type to Full HTML.
Comment #2
dgtlmoon commentedThis is not a bug, created newsletters *SHOULD* be in HTML format as they are the rendered OUTPUT of your PHP code newsletter.
Created newsletters are completely static, that's the whole point of the newsletter's for when you mail them out, it just creates a static newsletter that is rendered at cron time, so it must be a bug with either this module generating the code, or your PHP code in the original newsletter executing strangely inside of the simplenews environment
Remember: Simplenews Scheduled Newsletters are created at cron time, so the permissions may be wierd...
See if you can find some more info out for me, maybe do stuff like
print $user->uid;in there and make sure the rendered newsletter contains what you think it does