Jump to content

Help to modify cms.tpl


Recommended Posts

Hi everybody!

 

I need help to modify the file cms.tpl. I don´t want to show cms pages to all users, only to registered users, so I modified my cms.tpl in this way

 

{if $logged}

CONTENTS OF CMS.TPL HERE

{/if}

 

But, if you are not registered, I woudl like to show a message, something like "You need to be a customer in order to see this content"

 

 

How must I modify the code in cms.tpl to show that message to visitors?

 

 

Thanks you!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...