Front-End user

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
stefsegers
Forum Members
Forum Members
Posts: 84
Joined: Sun Feb 11, 2007 11:03 am

Re: Front-End user

Post 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
alby

Re: Front-End user

Post 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
stefsegers
Forum Members
Forum Members
Posts: 84
Joined: Sun Feb 11, 2007 11:03 am

Re: Front-End user

Post 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?
alby

Re: Front-End user

Post 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
stefsegers
Forum Members
Forum Members
Posts: 84
Joined: Sun Feb 11, 2007 11:03 am

Re: Front-End user

Post 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
Post Reply

Return to “Modules/Add-Ons”