Tutorial for plugin ?
54 posts by 11 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: November 30, 2011 (RSS)
Hi Djulia and others,
I’ve made some modifications and added some variables to add_notify.php to work with my application and they works perfectly.
I’m stuck on how to insert a link in the sent email message that’s generated from something like this:
Note: One of the defined variables is: $recNum = mysql_insert($tableName,$columnsToValues);
When I insert that, instead of a clickable link, I get the href code in the actual email, like this:
I’m sure it’s something simple, but I can’t seem to figure it out.
Thanks for your help,
Jerry Kornbluth
I’ve made some modifications and added some variables to add_notify.php to work with my application and they works perfectly.
I’m stuck on how to insert a link in the sent email message that’s generated from something like this:
Note: One of the defined variables is: $recNum = mysql_insert($tableName,$columnsToValues);
Or you can download the images by <a ref='http://{$_SERVER['HTTP_HOST']}/downloads.php?$recNum'>BY CLICKING ON THIS LINK</a>
When I insert that, instead of a clickable link, I get the href code in the actual email, like this:
Or you can download the images by <a href='http://96.0.18.42/downloads.php?45'>BY CLICKING ON THIS LINK</a>
I’m sure it’s something simple, but I can’t seem to figure it out.
Thanks for your help,
Jerry Kornbluth
The first CMS Builder reference book is now available on-line!
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Tutorial for plugin ?
By Djulia - November 30, 2011
Hi Jerry,
You can perhaps modify the value of the heading.
To replace : Content-type: text/plain; charset=UTF-8
with :
Content-type: text/html; charset=UTF-8
Djulia
You can perhaps modify the value of the heading.
To replace : Content-type: text/plain; charset=UTF-8
with :
Content-type: text/html; charset=UTF-8
Djulia
Djulia,
That worked perfectly.
So easy when you know how...
I have learned so much about plugins from you.
Thank you for all your help.
Best,
Jerry
That worked perfectly.
So easy when you know how...
I have learned so much about plugins from you.
Thank you for all your help.
Best,
Jerry
The first CMS Builder reference book is now available on-line!
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
By atc4545 - November 30, 2011
thanks for the suggestion ("admin_head"). I've updated my code. I actually tried that earlier before I really understood the difference between addFilter and addAction and I kept getting wierd results because I wasn't returning anything with addFilter. Works perfectly now, thanks!
__________________
Buy Electronics Wholesales and earn money from dropship:chingtown.com
__________________
Buy Electronics Wholesales and earn money from dropship:chingtown.com