santinuro Posted November 8, 2016 Share Posted November 8, 2016 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 More sharing options...
endriu107 Posted November 8, 2016 Share Posted November 8, 2016 {if $logged} CONTENTS OF CMS.TPL HERE {else} PLEASE LOG IN TO SEE THIS PAGE {/if} Link to comment Share on other sites More sharing options...
santinuro Posted November 8, 2016 Author Share Posted November 8, 2016 Thanks!!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now