by
KK » Wed Jun 24, 2015 2:02 pm
Thanks for the creds.
The title you used to describe the problem ("Blank page if user is not logged") is not accurate.
When a user is not logged-in, he does get to see the page - only some parts of the data are missing.
If you take a closer look at the portions of the data that are absent, you'll find that they are all outputted conditionally e.g.
- Code: Select all
<cms:if my_lang='pl'><cms:show aboutus_content /></cms:if>
<cms:if my_lang='en'><cms:show aboutus_content_en /></cms:if>
<cms:if my_lang='de'><cms:show aboutus_content_de /></cms:if>
or
- Code: Select all
<cms:if my_lang='pl'>Zobacz więcej</cms:if>
<cms:if my_lang='en'>See more</cms:if>
<cms:if my_lang='de'>mehr sehen</cms:if>
Evidently what is happening is that when a user is not logged-in, the 'my_lang' variable is not set to any value and hence no content is outputted.
Please review the part where you set the lang and see what is causing this to happen.
Thanks.