Friday, October 31, 2008

Re: Fatal error Call to undefined method Controller Html()

Try putting 'full_base' => true to your url array.

I haven't tried this myself, but if I'm reading the source right, it
should work.

Hope that helps!

On Oct 31, 2:21 pm, Malcolm Krugger <chennaiprogram...@gmail.com>
wrote:
> <?php echo $html->link('Activate  account',
> array('controller'=>'users', 'action' => 'activate', $userid); ?>
>
> The above works perfect except the fact that it is not the absolute
> URL
>
> $userid by the way is a raw parameter which I want to pass to an
> action
>
> Is there a way the above can be used to print out an absolute url ?
>
> Thanks again
--~--~---------~--~----~------------~-------~--~----~
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: