Question
IF WIKIUSER=Main.TWikiGuest, I do not want to show the menu of topic actions. Otherwise, I know a user is logged in and I do want it to show.
I understand the template system and have customized well enough, but do not understand Perl commands necessary to make the display of topicactions conditional. I want to write a new item "topicaction2" in view.pattern.tmp. Then, in twiki.pattern.tmpl, where it now says
%TMPL:P{"topicaction"}%
I want something that forks, so
TWikiGuest sees
%TMPL:P{"topicaction2"}%
and other users see the other one.
Environment
--
PaulJohnson - 18 Oct 2004
Answer
use the
SpreadSheetPlugin; see
HideControlsFromNonAuthenticatedUsers for more info
--
WillNorris - 18 Oct 2004