Keyword

restrict part of content to registered users

  • spamspam
  • spamspam's Avatar Topic Author
  • Offline
  • New Member
More
12 years 9 months ago #60120 by spamspam
Hi,

Is it possible to restrict a part of an article to restricted users?
I explain:
I want to be able to post a promotion on a product.
if one is not logged in he can only see the explanation of the promotion but not the actual condition, if he is logged in he can see the actual conditions.

So, if not logged in you see:

This is a promotion

After logging in you see:

This is a promotion
Special price: 100€

Can this be done?

tnx

Please Log in or Create an account to join the conversation.

  • spamspam
  • spamspam's Avatar Topic Author
  • Offline
  • New Member
More
12 years 9 months ago #60121 by spamspam
I solved the problem by creating a template override and coding it myself as an extra function which looks at the content before displaying.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum