close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Registration Solution Pack and Franework

Thread began 9/08/2010 11:43 am by danielsebas | Last modified 1/27/2011 3:54 pm by danielsebas | 1456 views | 6 replies |

danielsebas

Registration Solution Pack and Framework

Hi, I am applying framework in a page named users.php in the root folder of my site and I'm calling the Registration Solution Pack pages with Framework extension from the users.php page. The Solution Pack is in a folder called Registration, the users_Profile.php is called by a get argument users.php?mod=profile everything works perfect but when I click the send email confirmation button, the page goes to the Registration folder without showing any page, (Registration/) but when I access the users.Profile.php from its complete address: users_Profile.php and click there the send email confirmation button the page refreshes where it should, under the users.php?mod=profile.
I edited the send email redirect trigger like this:

<?php
if ((isset($_POST["verify_button"]))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".$row_WAATKusers['UserEmail'] ."";include("WA_Universal_Email/WAUE_users_Profile_1.php");

//Send Mail All Entries
if ("users_Profile.php?sent=true"!="") {
header("Location: ../users.php?mod=profile&sent=true");
}
}
?>

Thank you in advance

Sign in to reply to this post

Jason ByrnesWebAssist

try changing the header redirect code to:

php:
header("Location: " . rel2abs("../users.php?mod=profile&sent=true",dirname(__FILE__));
Sign in to reply to this post

danielsebas

Hi Jason, I change the header like you told me, but I still have the same error

Sign in to reply to this post

Jason ByrnesWebAssist

hmmm, maybe try changing the forms action:

<form name="form1" method="post" action="">


to:
<form name="form1" method="post" action="<?php echo ($_SERVER["PHP_SELF"]); ?>?mod=profile">

Sign in to reply to this post

danielsebas

Thank you, I changed the form action and instead of:

header("Location: " . rel2abs("../users.php?mod=profile&sent=true",dirname(__FILE__));

in the trigger I put:

//Send Mail All Entries
if ("users_Profile.php?sent=true"!="") {
header("Location: users.php?mod=profile&sent=true");
}

and now the page is refreshing were it shoud at users.php but the email is being sent without subject and also, should I leave

if ("users_Profile.php?sent=true"!="") {
header("Location: users.php?mod=profile&sent=true");
}

or change it to:

if ("users.php?mod=profile&sent=true"!="") {
header("Location: users.php?mod=profile&sent=true");
}

thank you in advance

Sign in to reply to this post

Jason ByrnesWebAssist

the subjest for the registration email is set in the wa_globals/wa_globals file:
$WAGLOBAL_Registration_Email_Subject = "Welcome to our site" ;


make sure you have set the subject there.

try both of those and see which one works.

Sign in to reply to this post

danielsebas

It works

Hi,

Thank you it finally worked, the email is sent with out any problems.

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...