MacroMarket/ConditionalText

This macro hides text from users who are not logged in. Logged in users will see the text normally.

It's not very elegant - I'm sure the hackers among you could improve it - but it is getting the job done at present.

The format is:

The macro currently looks for logged in users that are either superusers or are in MembersGroup. You must change the macro if that's not good for you.

All text in this macro must be on one line. If you want multiline text it must use HTML tags for formatting:

!ConditionalText(<b>Some bold text:</b><ol><li>Some item in a list.<li>Another item in italics.</i><ol>etc...)

Maybe NotLoggedIn would be a better name than ConditionalText (the condition could also be anything else than login status). -- ThomasWaldmann 2007-10-26 17:51:06

similiar to MacroMarket/ShortText too. -- ReimarBauer 2007-10-26 18:48:49

MoinMoin: MacroMarket/ConditionalText (last edited 2007-10-29 19:08:23 by localhost)