[Zope-CMF] URL Redirection Problems

Jens Vagelpohl jens@zope.com
Mon, 22 Oct 2001 08:03:12 -0400


you could use ZopeTime, but you must always make sure that the output 
strings are properly munged by using url_quote format:

view?start_date="<dtml-var expr="ZopeTime()" url_quote>"

jens



On Friday, October 19, 2001, at 10:26 , Mike Doanh Tran wrote:

> i am using the latest version of the Zope's Redirector script.  I was 
> trying
> to set the Target URL to a <DTML-VAR> but did not work.  Does anyone know 
> how
> i can redirect a page to go to a dynamic url base on the current date. 
> Here
> is what i was trying to do.
>
> Target URL:  view?start_date="<dtml-var zopeDate>"
>
> I am trying to force my calendar to redirect and default to current date.
>  The
> calendar that i am using is SempoiCalendar.
>
> Any suggestion is appreciated.
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature 
> requests