After upgrade from cmsms 1.12.2 to 2.1.4 in the frontend the page for members comes up without any style en without the content. All other show up fine.
On the top of the page the following lines are given:
Skip to navigation
Skip to content
And the name of the website is shown twice.
This worked perfectly under cmsms 1.12.2.
A member that wanted to go to the member content would on that page sign in and was then shown the content block with the member content.
The member template has exactly the same stylesheets assigned and is exactly the same as the one for the other pages except that it contains after {content} te following code:
{if ($ccuser->memberof('bleden,zleden,mleden,nleden'))}
{content block='ledeninhoud'}
{/if}
The menber page is not cachable and contains the following Content:
{if !$ccuser->loggedin()}
<p>Some text...: <a href="{cms_selflink href='h_registratie'}">Ledenregistratie</a></p>
<p>Some text...</p>
{FrontEndUsers nocaptcha="1"} {/if} {FrontEndUsers nocaptcha="1" form="logout"}
And as defined in the template has is Content-block "ledeninhoud" wich contains a couple of links to documents.
Why is the page displayed without the styles?
And why does not the content with the signin come up?
After upgrade cmsms 2.1.4 webpage members without style etc
Re: After upgrade cmsms 2.1.4 webpage members without style
Custom Content module doesn't work in CMSMS 2.x and is redundant anyway. All functionality is embedded in FEU
From helptext:
From helptext:
Smarty Functions:
{feu_protect}
The feu_protect block plugin provides a convenient method to hide some content from users on what is normally a public page.
Warning: This plugin cannot be considered 100% secure, and should not at any time be used in the page template to protect the default {content} tag. There are ways to access the default content property of a page, or to call a module action without processing the page template. If you need to protect the content and ensure that no unauthorized users access the page, use the protected page content type provided by this module.
Usage:
{feu_protect groups="group1,group2,grop3"}
<p>Smarty content that should only be visible to members of those groups.</p>
{/feu_protect}
Note: The user must be a member of at least one of the specified groups. The group names are case sensitive.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -