Question
how to prevent to view a part of topic from non-authenticated user.?
%IF{"context authenticated" then="
* [[%SCRIPTURLPATH{"view"}%/%BASEWEB%/WebTopicCreator?parent=%BASETOPIC%][ %ICON{"newtopic"}% %MAKETEXT{"Create New Topic"}%]]
" else="Not support"}%
I tried.see below output result.
LOGIN -> 1 (It is NOT I want to output result);
LOGOUT -> Not support
how to prevent to view a part of topic from non-authenticated user.?
Environment
--
IlhoYu - 11 Jul 2006
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
The easiest way to do this is to define the conditional text in another topic - for example, "IncludeMe". Then do this:
%INCLUDE{"%IF{"context authenticated" then="IncludeMe"}%" warn="off"}%
--
CrawfordCurrie - 11 Jul 2006