Page 1 of 1

Redirect Page tag not working

Posted: Tue Oct 18, 2011 3:15 pm
by emilyshimell
Hi All

I am trying to use the redirect page and/or redirect url tags but I am having problems doing this.

For example, following other posts and information, the following should work:

{elseif $ccuser->memberof('customers')}{redirect_page page='portal/customer-documents'}{/if}

Although as soon as redirect_page tag is used, it takes me to a page where the stylesheet is ignored and a smarty error occurs.

I have tried using the redirect_page tag in a normal page and this doesn't work either, just takes me to a blank white page.

I understand that within FEU module, I can use the login and logout page url sections to direct to certain pages but I am still unsure why redirect_page and redirect_url tags do not work? Has anyone else had this problem when using redirects?

I am fairly new to this so please be kind :)

thanks in advance, let me know if you need more info.

Emily

Re: Redirect Page tag not working

Posted: Tue Oct 18, 2011 5:10 pm
by Dr.CSS
When using a page alias in the redirect you only need the pages alias not the parent/page-alias, I see you have 'portal/customer-documents'...