Le jeudi 17/03/11 à 10h24,
"Bastien Gauthier" <gbast...@commune.sambreville.be> a écrit :

> If you do not add the "portal_url", you could have some problems if
> you url is actually "http://my_ip_address:8080/myplonesite";, this
> would redirect to "http://my_ip_address:8080/my_form"; wich is not the
> correct one...

OK.

> What you wrote with the portal_url is wrong, that is why the "label"
> portal_url is added to your url...
> 
> Do this : 
> <tal:redirect define="dummy
> python:request.RESPONSE.redirect(portal_url +
> '/forms/my_join_form')" />

I suspected something like that :)

> This way, you are sure it will work in any cases... (well... :-))
> Because the portal_url can change depending where you access it and
> it could have different formats...

OK.

Many thanks!

Have a nice day.
-- 
Denis
_______________________________________________
Setup mailing list
Setup@lists.plone.org
https://lists.plone.org/mailman/listinfo/setup

Reply via email to