Monday 10 July 2006 10:15:59 am
Please forgive my ignorance. I'm very new to ezPublish. I am coding an e-vite extension that allows for an admin to create a object that holds invitation information. Then the end user goes to that object and has the option to send the invitation to a friend. This is similar to tip-a-friend. But the actual content of the object is the body of the email. So here's what I've done. I've created a new evite class through the admin. It has a title and body attribute, as well as to and from email data collectors (I probably don't need these, since I could code the input tags directly in to the template) I've created a new extention with an action file that will email the evite to the specified. First is this the best method of accoplishing what I'm looking for? Second, how do I access the attributes (title and body) of the evite object in my PHP action code? Is there an object retieval PHP function I can use? I'd rather not send the attributes via http POST. I hope this makes sense. --Andrew
|