My update profile page doesn’t show any error or success messages from [+wlpe.message+]
The webloginPE call I am using is:
[!WebLoginPE? &type=`profile` &profileTpl=`update-profile-form` &profileHomeID=`17`!]
Can anybody please tell me what I’m missing? Any updated information is making it to the database, I just need the messages to work. The messages do work for the login process.
Thanks ~Jules
Thanks for the suggestion, it didn’t work though. Just to be sure I went back to using the default profile template.
I tried updating my password using unmatched words --no error message.
When I updated my profile I didn’t get "Your profile has been updated." either. The changes are being saved.
The call I’m using now is:
[!WebLoginPE? &type=`profile` &profileHomeID=`17`!]
I’m at a loss, do you have any other ideas?
I was getting the incorrect password error okay, but no success message!
I did a new test install of MODx and implemented WebloginPE using all default templates to see if there was some sort of corruption in the site I was working on... I still didn’t get any of the wlpe messages.
In order to get around this issue I would like to set it up so that when "save" is clicked the user is redirected to a page that reflects the updated info, but isn’t inside a form --like the defaultViewProfileTpl.html except that it should only list the one user with the newly saved data. I thought that using the &profileHomeID would accomplish this, but it didn’t.
I see that in the webloginpe.snippet.php on line 58
$displayProfileTpl = isset($profileTpl) ? $wlpe->Template($profileTpl) : $wlpeProfileTpl;
and starting on line 162
case ’saveprofile’ :
if (in_array(’saveprofile’, $disableServices)){return;}
$wlpe->SaveUserProfile();
$wlpe->PlaceHolders($inputHandler, $messageTpl);
return $displayProfileTpl;
break;
Can anyone suggest a way of having a user return to a page of my choice instead of returning to the profileTpl?
I really need to find a way to resolve this issue... please someone help me! If needed I would be more than willing to give access to the site on my testing server.
Thanks, Jules
Thank you so much!
It worked like a charm. And thanks for the reminder to document my changes and create a bk up of the original:-)
~Jules