[Zope] Full path var on Zope.org login link (Ethan!)?

Nick Garcia ngarcia@codeit.com
Mon, 31 Jul 2000 02:47:16 -0700


ethan mindlace fremen wrote:
> 
> "J. Atwood" wrote:
> >
> > What DTML-VAR do they use on Zope.org to populate the came_from variable for
> > the 'login' link?
> 
> http://www.zope.org/standard_html_header/view_source
> 
> &dtml-URL0;

Note that if you have any variables in your URL, this won't work.  You
have to do:

<dtml-var URL0><dtml-if QUERY_STRING>?<dtml-var QUERY_STRING></dtml-if>

-- 
Nick Garcia | ngarcia@codeit.com
CodeIt Computing | http://codeit.com