Support for JavaScript and mailto links in HtmlHelper::link()

Published on and tagged with cakephp  tip

At the moment, the function link() of the HtmlHelper does not allow to create links like <a href=”javascript:doSomething();”> or <a href=””>. I have written a patch to add this functionality.

© daniel hofstetter. Licensed under a Creative Commons License