Oh, I see, I would just need to write a function similar to HtmlHelper::link, which includes a call to the tags array I linked before:
return $this->output(sprintf($this->tags['link'], $url, $this- >_parseAttributes($htmlAttributes), $title)); So I guess it's just a matter of extending or copying HtmlHelper? On Sep 13, 12:24 pm, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote: > On Sat, Sep 13, 2008 at 1:15 PM, 703designs <[EMAIL PROTECTED]> wrote: > > > It looks like the capability's there ( > >http://api.cakephp.org/html_8php-source.html#l00047 > > ), but invoking the method from a page view throws this error: > > > Warning (512): Method HtmlHelper::mailto does not exist [CORE/cake/ > > libs/view/helper.php, line 148] > > > What needs to be done to enable the mailto option? > > You probably want the TextHelper::autoLinkEmails() function. > > - Gonzalo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
