Closed (fixed)
Project:
Simplenews
Version:
6.x-1.0-rc6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2009 at 19:37 UTC
Updated:
2 Jan 2010 at 13:20 UTC
Hi,
I'm trying to figure out a way to put "Send this node as Test email" and "Send this node as a newsletter" buttons on the node view page, rather than on the edit page. I think this would be simpler for my clients to understand.
I'm thinking I could do it by calling a php file with ajax when the button is clicked, to either fire the simplenews_send_node($node) function or to trigger a simplenews action. However, I'm a bit lost how to do either of these. Any suggestion on which way would be best and how to proceed?
thanks, hope you can help me a bit!
J
Comments
Comment #1
sutharsan commentedIn the simlenews action module you will find the function calls required to send a newsletter. Perhaps that is of any help.
Comment #2
jglynn commentedThanks, I'll check it out. Now I just need to figure out how to call those functions with ajax...
Comment #3
sutharsan commented