I tried invoking that from a view earlier but got an error; I believe it needs to be in a controller. And as I'm just creating pages (no controllers of my own yet), I'm not sure how I should go about applying that transformation. However, I only want to use mailto links selectively (I wouldn't want to transform addresses in a table, and it looks like the capability is already there.
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 -~----------~----~----~----~------~----~------~--~---
