• This Plugin has been renamed from HiddenTextPlugin
--
MeredithLesly - 25 Feb 2006
Thanks Meredith for maintaining this Plugin
--
PeterThoeny - 27 Feb 2006
This does not appear to be working on the lastest version TWiki.
Here is the error from /var/log/httpd/error_log:
[Wed Mar 15 16:09:28 2006] [error] [client xxxxxx] [Wed Mar 15 16:09:28 2006] view: Scalar value
@_
[3] better written as $_[3] at /var/www/html/twiki/lib/TWiki/Plugins/HideInEditModePlugin.pm line 94., referer:
http://xxxxxx/twiki/bin/edit/Sandbox/HideInEditModeTest?t=1142460537
I have turned on debug, and all looks happy there. I have also tried to change value
@_
[3] to $_[3] as well as for 1 & 2 on lines 93 and 92. But I am nowhere close to a Perl person much less a programmer.
--
JeffStrahl - 15 Mar 2006
OK, I have the same problem like Jeff. My TWiki-Release ist 4.0.1 from Feb 2006.
- Edit with other user specified in ALLOWTOPICHIDDEN.
- This looks good, hidden areas not viewed
- Now saving the changes
- Hidden areas are lost now
--
RudiRose - 29 May 2006
I"m sorry. I wrote the plugin when I barely knew Perl, never managed to make it work, and then wound up not needing it. I shouldn't have uploaded it at all, I'm afraid.
I will create a new plugin and topic page if I can find the time to do it right. I'm sorry for any trouble it's caused you.
--
MeredithLesly - 29 May 2006
Meredith, please use the rename/delete privilege responsibly. I restored the
HideInEditModePlugin topic from the Trash and marked it as obsolete.
--
PeterThoeny - 29 May 2006
I didn't know there was an obsolete option. Sorry.
--
MeredithLesly - 29 May 2006
The idea of this plugin ist excellent and good. If it worked correctly I can hide functions like %Action{}%, special %search{}%, etc for TWiki-Users in our secretary.
It's too bad about this Plugin to make it obsolate...
--
RudiRose - 30 May 2006
It's only possible to hide text at the top or the bottom, for architectural reasons, so I don't know if it would've done what you wanted anyway.
If I have time, i'll try to fix and build the plugin, since I know rather a lot more perl now.
--
MeredithLesly - 30 May 2006
This plugin would be very useful to hide
WorkflowPlugin code from general users - they see all the code at the top and suddenly all our 'it's easy - just like writing an email' sales talk is forgotton!
--
EdMcDonagh - 09 Aug 2006
There are several other ways to accomplish your goal, besides making this plugin work.
The
WorkflowPlugin has an example where all the plumbing is hidden by using topic-specific edit and view templates. You could also use
MultiEditPlugin to create portions of the document that are not normally editable. You should look also into topic-specific settings, available at the "more..." screen.
--
ThomasWeigert - 09 Aug 2006
WorkflowPlugin +
MakeCtrlTopicsListAddOn +
HideInEditModePlugin =
Workflow bliss Thank you Meredith!!
I noticed the error statement in the log and made the suggested change to the .PM file - it is now attached to this topic!
Log statement:
Scalar value @_[1] better written as $_[1] at /srv/www/htdocs/twiki/lib/TWiki/Plugins/HideInEditModePlugin.pm line 92.
Scalar value @_[2] better written as $_[2] at /srv/www/htdocs/twiki/lib/TWiki/Plugins/HideInEditModePlugin.pm line 93.
Scalar value @_[3] better written as $_[3] at /srv/www/htdocs/twiki/lib/TWiki/Plugins/HideInEditModePlugin.pm line 94.
--
TorbenGB - 23 Oct 2008