Forums / Developer / Conditional output / Comment41160

Author Topic

Alex Jones

Tuesday 20 July 2004 8:42:32 am

Comment41160

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>