ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Issues related to forms.
User avatar
Patrik iden
 
 
Posts: 559
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Patrik iden » Fri Oct 22, 2010 6:56 pm

Can i put the website address to my form here:

Sets the Body of the message. This can be either an HTML or text body.
* If HTML then run IsHTML(true).
* @var string
*/
var $Body = ''http://mysite.php/form.php";

in dbts_includes/class.phpmailer.php?

To yous my form page as body in mail?

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Navaldesign » Fri Oct 22, 2010 7:07 pm

No, you can't.

You should create a PHP file that "reads" your page, and uses it as body for the mail.
Then in DBTS Form Processor, use the "Before Admin mail" or "Before auto mail" to include this file.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 559
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Patrik iden » Fri Oct 22, 2010 8:05 pm

OK,thank's. Do you have an exeple code for this file pleas?

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Navaldesign » Fri Oct 22, 2010 8:28 pm

<?php
$HTMLmessage = file_get_contents("pagename.html");
?>

Save it with whatever name you like and use it as Before Admin Mail include and Before Auto Mail include
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 559
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Patrik iden » Fri Oct 22, 2010 9:05 pm

I got this msg:

Method Not Allowed
The requested method POST is not allowed for the URL /Tidrapport/tidrapport_blank.html.

OK i'v got it.

But the email still looks the same, whit the body that ABVFP processor makes?
Last edited by Patrik iden on Fri Oct 22, 2010 9:12 pm, edited 1 time in total.

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Navaldesign » Fri Oct 22, 2010 9:11 pm

I'm sorry but I can't help without a link to the form page. Even wuth the link, the php code is not visible, so even so I'm not sure I can help.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 559
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Patrik iden » Fri Oct 22, 2010 9:26 pm

My form is in php but i made a html whitout the mail code, thinking i cold yous thet to get the body? and the php that reads ny page is getbody.php the cod in Removed by user
Last edited by Patrik iden on Thu Feb 10, 2011 6:19 pm, edited 1 time in total.

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Navaldesign » Fri Oct 22, 2010 10:33 pm

The html page needs to be a php page IF you have the form processor in it.

The template page that you want to read must be different than the form page.

You have mistaken the code, I didn't put the entire URL, just the page.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 559
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Patrik iden » Sat Oct 23, 2010 10:53 am

Removed by user
Last edited by Patrik iden on Thu Feb 10, 2011 6:18 pm, edited 1 time in total.

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Navaldesign » Sat Oct 23, 2010 12:45 pm

Did you add the "getbody.php" in the "Before Admin Mail" include field ?
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 559
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Patrik iden » Sat Oct 23, 2010 11:02 pm

yes.

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Navaldesign » Sun Oct 24, 2010 7:26 am

Then you must be doing something wrong.

The include completely changes the mail body, so it would be impossible that you still get the standard mail.

Unfortunately there is no way I can help you without access to your hosting account.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 559
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Patrik iden » Sun Oct 24, 2010 1:18 pm

Removed by user
Last edited by Patrik iden on Thu Feb 10, 2011 6:24 pm, edited 2 times in total.

User avatar
Patrik iden
 
 
Posts: 559
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Patrik iden » Sun Oct 24, 2010 1:21 pm

Removed by user
Last edited by Patrik iden on Thu Feb 10, 2011 6:24 pm, edited 3 times in total.

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: ABVFP A Powerfull Form Processor for WYSIWYG WB users!

Post by Navaldesign » Sun Oct 24, 2010 6:39 pm

No, this is not what I posted.

I posted $HTMLmessage = ....

In php, variables are case sensitive.
www.dbtechnosystems.com

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest