How to find objects in zope and send it thru mail, when you know path
Hai Friends, I want to add a link like "Email this page to Friend" in all my news item pages. For this i will be having link like this http://192.9.200.90:8080/cmfsite/sendToFriend?article=http://192.9.200.90:80... In the sendToFriend i have (just for checking) <dtml-sendmail mailhost="mailhost"> to: dhanunjaya@mindscapecomputing.com from: dhanu subject: mail testing <dtml-mime type="text/html"> <dtml-var article > </dtml-mime> </dtml-sendmail> Now when i send mail by clicking the link (iam sending my self for debugging) iam gettting only link but not the page. the problem is with <dtml-mime type="text/html"> <dtml-var article > </dtml-mime> ....................... I want to know to get hold of zope object and display its content with <dtml-var article>, when you know the path of the object. i tried <dtml-var "_.get(article)"> but still it is giving problem. ................................ Thank you, Regards, Dhanu
Dhanu writes:
I want to add a link like "Email this page to Friend" in all my news item pages. I think, there is a HowTo on "zope.org" about this task....
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Please, do not send HTML!
Dieter
participants (2)
-
Dhanu -
Dieter Maurer