"http://www.mydomain.com" .
$html->link('controller'=>'users','action'=>'activate',$key).
2008/9/27 donnerbeil <[EMAIL PROTECTED]>
>
> 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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---