"http://www.mydomain.com" . $html->link('controller'=>'users','action'=>'activate',$key).
2008/9/27 donnerbeil <donnerbeil@googlemail.com>
Hi,
When a user registers on my site, an email with an activation link is
sent to him. In the email templates I would like to use something like
echo $html->link('controller'=>'users','action'=>'activate',$key). But
when this link is shown in the email it links to /users/activate/[key]
How can I tell cakephp, that it has to put http://www.mydomain.com in
front of the url, so that it works when someone clicks on the link in
the email?
any ideas?
Thanks
Donnerbeil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment