This question about Using an extension: Answered
REDIRECT inside IfSTATEMENT
Good morning everyone, i've a question about the
IfStatement and the redirect. I need to redirect users on different web on login. I've created a starting page on the Main for the redirect who contains all the if control. I try to compare the Wikiname on a particular string (users have only 1 account, for their company, so this is better for me, i know it's absolutely not optimized).
The instruction is like this:
%IF{"'%WIKINAME%'='WikiName'" then="%REDIRECT{"TopicName"}%" else=""}%
Well at this point, the page will automatically redirect without eveng doing the control. There's some method to do the same thing in a better way?
Thank for the attention guys and sorry for bad english, not native!
--
DarioBergamaschi - 29 Jul 2016
Try this:
%IF{
"'%WIKINAME%'='WikiName'"
then="$percntREDIRECT{\"TopicName\"}$percnt"
}%
--
MichaelDaum - 29 Jul 2016
so easy! Thank you! It go perfectly now!
--
DarioBergamaschi - 29 Jul 2016