Hello,
in wlpe I want to replace the sendMessageToUser function with the eForm functions. So from a given UserID that wlpe delivers as [+view.internalKey+] placeholder it needs to excerpt the adequate email adress to handover to eForm call.
Any help is appreciated.
Thanx for your kind help designetic,
but something failes yet. When I removed "modx_" from the line "$table = $modx->getFullTableName(’modx_web_user_attributes’);" it parsed without serious alert (I compared it with webloginpe.class.php) but returned no output.
oops sorry, yes I should’ve excluded modx_
It may not work inside your WebLoginPE template.
What is your WebLoginPE call?
At this time I use the simple "[[GetEmail? &userid=`[+view.internalKey+]`]]". and I’ve made it unchached "[!GetEmail? &userid=`[+view.internalKey+]`!]".
Next I want to insert this call into an eForm call as the "to" parameter.
[+view.internalKey+] has a propper value.
Now it works, it was my fault reformatting the code. :-( I’m very sorry.
Thanx again, designetic.