[Zope] How do you do a simple relocate?
Chris McDonough
chrism@digicool.com
Tue, 01 May 2001 18:58:57 -0400
Hi Tommy,
Here's something that will send the user to an alternate page based on
his identity.
<dtml-if "REQUEST['AUTHORIZED_USER'].getUserName() == 'admin'>
<dtml-call
"REQUEST.RESPONSE.redirect('http://another/page/somewhere')">
</dtml-if>
Tommy Johnson wrote:
>
> Ok, first of all - I'm new to Zope (1 week). Now, what I'm trying to do is
> relocate from one page to another. Something very simple, such as if a user
> comes to a certain page, based on some variable, the user will be relocated
> to another page.
>
> I can do a server side include, but this really isn't what I wanted.
>
> Any help would be appreciated.
>
> Thanks in advance,
> Tommy
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )