Conditional output

Conditional output

Saturday 17 July 2004 10:28:49 pm - 1 reply

Author Message

Alex Jones

Tuesday 20 July 2004 8:42:32 am

Well, you can't just add a tag to the text of an article, but you could modify the article class (or any other class for that matter) to include a check box that would toggle the login requirement. You could then create the override template to detect the state of the check box. If the box is checked, the template would then check to see if the user is logged in. IF they are, the links would be shown, if not, your message would be shown.

Does this help?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.