Page 2 of 2
Re: Front-End user
Posted: Fri May 04, 2007 7:27 am
by stefsegers
Hey Alby,
It works great. 1 login page and forward it to the next page! BUT!!
When I forward a user to page (ex. beheer-access) I see all the content. But in my template I have more pages linked. When I go to another page that has the same template I get an empty page!
What did i do wrong?
Stef
Re: Front-End user
Posted: Fri May 04, 2007 12:56 pm
by alby
stefsegers wrote:
Hey Alby,
It works great. 1 login page and forward it to the next page! BUT!!
When I forward a user to page (ex. beheer-access) I see all the content. But in my template I have more pages linked. When I go to another page that has the same template I get an empty page!
Strange,
in template, try with:
Code: Select all
{cms_module module=CustomContent}
{if $customcontent_loggedin > 0}
{if isset($customcontent_memberof_XXXXX)}
{content}
{else}
<h1>U dient eerst in te loggen voor u verder mag</h1>
{/if}
{else}
<h1>Access denied. Authorization required</h1>
{/if}
Alby
Re: Front-End user
Posted: Fri May 04, 2007 4:00 pm
by stefsegers
Hey Alby,
I edited the 4 templates for the 4 different groups. When I login successfully I get on the first page with the secured template. When I want to go to another page with the same template (same security) I get "Access denied. Authorization required"
Also when I then go back to the first page that did go right I now get the same error.
I have also unchecked the Cache for ecery secured page. That oke right?
Re: Front-End user
Posted: Fri May 04, 2007 4:58 pm
by alby
stefsegers wrote:
I have also unchecked the Cache for ecery secured page. That oke right?
yes,
debug page with {get_template_vars}
and check $customcontent_* variables
Alby
Re: Front-End user
Posted: Sat May 05, 2007 7:07 am
by stefsegers
Hey Alby,
Stupid me!

I unchecked it for the login page and the start pages. So that's why it didn't work.
Now I unchecked it for all pages and it works!!!
THIS IS GREAT!!!!!
Thanks for al the support and patience
Stef Segers