http://api12.cakephp.org/class/html-helper#method-HtmlHelperurl

You can add the array('action' => 'view', 5) parameter and it will be
compatible with custom routes (look here:
http://api12.cakephp.org/view_source/html-helper/#line-278)

On Jun 7, 7:33 am, Andras Kende <[email protected]> wrote:
> Hello,
>
> Is it possible for cakephp html link helper to create absolute urls?
>
> I saw this could be done with html->url() something like :
>
> <?php echo $html->link('TEST LINK', $html->url('/advances/forward', true)); ?>
>
> but not sure how compatible that with custom routes etc...
>
> Thanks,
>
> Andras

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to