You can use/add $this->serverUrl(); to print the
"http://www.server.com"; part of the url.

scs

>
> On 12 Jan 2010, at 17:29, Diego Potapczuk <[email protected]> wrote:
>
> Hi,
>
> When i use the $this->url() in the view, it don´t include the server url, is
> this the correct behavior?
>
>
> Example:
> <?php echo $this->url(array('module' => 'admin',
>                                                 'controller' => 'info',
>                                                 'action' => 'show',
>                                                 'id' => $this->var['id']),
>                                                 'default', true);
> ?>
> // /admin/info/show/id/4 (what i get)
>
> // /http://www.server.com/admin/info/show/id/4 (what i would like to get)
>
>
> Thanks
>
> ::: Diego Potapczuk
>

Reply via email to