Group plugin executes all content?
I'm trying to use the GROUP plugin to insert a redirection if the user is logged in. It seems the plugin is executing the content on both sides of the ELSE, though. With the following code:
{GROUP (groups=>Registered)} {REDIRECT (page=>HomePage status=>307) /} {ELSE} This is a test page. {GROUP}
Whether I'm logged in or not, I get redirected to HomePage. If I replace the redirect plugin with text the page works as expected.
Is this the way it's supposed to work? Is the GROUP plugin supposed to parse and execute all of its content? Or am I doing something wrong? Is there another way to achieve the desired result?
Ignore the status option on the REDIRECT plugin. I added that. The problem existed before I changed the REDIRECT plugin code.