After upgrade cmsms 2.1.4 webpage members without style etc

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
amarant
Forum Members
Forum Members
Posts: 32
Joined: Thu Mar 28, 2013 10:40 am

After upgrade cmsms 2.1.4 webpage members without style etc

Post by amarant »

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?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: After upgrade cmsms 2.1.4 webpage members without style

Post by Rolf »

Custom Content module doesn't work in CMSMS 2.x and is redundant anyway. All functionality is embedded in FEU

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

Return to “The Lounge”