Sunday, September 28, 2008

Re: email with link to mydomain.com

FULL_BASE_URL constant contains the name of the host + http(s)://

On Sep 27, 1:16 pm, donnerbeil <donnerb...@googlemail.com> wrote:
> 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 puthttp://www.mydomain.comin
> 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: