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

dallas.masters’s picture

Edit simplenews_scheduler.module and remove the section that redefines the type to Full HTML.

dgtlmoon’s picture

Status: Active » Closed (won't fix)

This 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