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
Front-End user
Re: Front-End user
Strange,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!
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}
-
- Forum Members
- Posts: 84
- Joined: Sun Feb 11, 2007 11:03 am
Re: Front-End user
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?
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
yes,stefsegers wrote: I have also unchecked the Cache for ecery secured page. That oke right?
debug page with {get_template_vars}
and check $customcontent_* variables
Alby
-
- Forum Members
- Posts: 84
- Joined: Sun Feb 11, 2007 11:03 am
Re: Front-End user
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
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