2008年12月31日星期三

Re: [fw-mvc] Relative urls that are not based on routes

Thanks, Rolando, that worked perfectly.

-Hector


On Wed, Dec 31, 2008 at 7:37 AM, Rolando Espinoza La Fuente <darkrho@gmail.com> wrote:
On Tue, Dec 30, 2008 at 6:08 PM, Hector Virgen <djvirgen@gmail.com> wrote:
[...]
> Is there a better way to easily create relative URLs that are not based on
> routes? I want to avoid using <base href="" /> if possible. Thanks!

You can use a view helper to construct the urls, see:

http://code.google.com/p/zym/source/browse/trunk/library/Zym/View/Helper/BaseUrl.php

Regards,


--
Rolando Espinoza La fuente
Pro Soft Resources  Inc.
www.prosoftpeople.com

没有评论: