close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Wrong template in email sending

Thread began 2/26/2014 9:33 am by Jonas | Last modified 2/26/2014 10:19 am by Jason Byrnes | 1571 views | 5 replies |

Jonas

Wrong template in email sending

I have created a contact form with the help of Design Extender 1.1.7 Form tool.

The email that is sent using the wrong template.

I've renamed the template and corrected some details in the file. Then I have chosen the template again in the contact file from Universal Email. The image shown is the right template. I've also double checked the code to the form. It refers to waue_kontakt_1.php. Which in turn refers to templates/kontakt.php. Which is the correct file. But the mail that arrives using the old template.

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Jonas

thanks

Sign in to reply to this post

Jason ByrnesWebAssist

on the sv/kontakt.php page, the action of the form is to post to the kontakt-fel.php page

<form class="Egen_Kontakt1spalt" id="Skickameddelande_Egen_Kontakt1spalt" name="Skickameddelande_Egen_Kontakt1spalt" method="post" action="kontakt-fel.php">


the UE instance on that page connects to the webassist/email/waue_kontakt-fel_1.phppage
include("../webassist/email/waue_kontakt-fel_1.php");


and the template used by that page is the Blank_16.php
$MailBody = $MailBody . (GetFromPage("templates/Blank_16.php"));


Remeber that all form processing must happen on the forms action page.

if you wish the form on the kontakt.php page to use the UE instance that is on that page, you must change the forms action to do so.

Sign in to reply to this post

Jonas

I understand in part.

The page 'kontakt fel.php' is an error page that is only supposed to appear if it goes wrong.

The page 'kontakt tack.php' is a thank you page to be displayed if everything is right.

Can I choose both thank you page and error page in the UE on the contact page, or do I need to do this, on the thank you page? What should I choose in 'failed redirect' on the contact page?

Sign in to reply to this post

Jason ByrnesWebAssist

you have a number of problems in the way this is set up.

your form should be set to post to the kontakt.php

the validation and UE behavors should only be on the kontakt.php page, you have them on the kontakt fel.php page as well

in the server validation on the kontakt page, set the failed redirect to the kontakt fel.php page (This is already done)

in the UE behavior on the kontakt.php page set the Go TO to go to the thank you page (this is also already done)

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...