create new tag
, view all tags

Hide Section In Topic

An expansion of what I just found on HideInEditModePlugin. Just some background, that plugin enables a user to define what will be hidden in edit, so only authorised individuals/group can edit the area. What I'm suggesting is this with view and a change of name, or maybe not?

It should take a form as, for instance

%STARTNOTE{ type="hidden" }%
Some notes to be hidden here.

And this is the next paragraphy of whatever note i need to place on a certain sentence or topic.

  • parameter type
    • hidden - on default, where it is only for private use i.e. Main.MeMyUser
    • group - _for entire+ Main.SomeGroup
    • public - _with an additional attribute name e.g. type="public" name="Main.MyName, SomeName"
    • link - maybe for linking to another topic e.g. type="link" name="Main.NameOfTopic"
  • it should inherit when in edit mode, or raw mode, or whatever mode
  • able to coincide with %SEARCH{}%
  • CommentPlugin for read-only docs
  • would be awesome to have this in Attachments
    • but this is asking too much, maybe future smile
  • visually,
    • wrapped around with a tag?
    • post-it style?
      • float it to the left or right?
      • z-index?
    • JSPopupPlugin?

Use cases? Lots. It takes what we have to use physically to the wiki world.

Related plugins: NotePlugin, HideInEditModePlugin. FootNotePlugin

-- Contributors: KwangErnLiew, CrawfordCurrie - 15 Feb 2007


Good idea.

Instead of adding a new variable, I think it would be a logical move to extend the existing %STARTSECTION% with a type="hidden parameter.

-- PeterThoeny - 15 Feb 2007

Hm, I was just thinking about that actually when I was watching a play. smile

But it would also need to know whether to actually include it, or display on-demand.

So maybe add a visual="float|pop|include" parameter?

-- KwangErnLiew - 15 Feb 2007

i wonder if we'd not be better off using twiki form fields for this sort of thing, then adding display&edit settings. that way you're not breaking up the TEXT area, but rather using the already defined concept.

additionally, adding display / edit settings or permissions to formfields is a funtionality that we do need.

-- SvenDowideit - 16 Feb 2007

If going with the TAG solution, why not use the STARTSECTION=/=ENDSECTION pair with a proper type?

-- RafaelAlvarez - 16 Feb 2007

Yes, that was my the idea (I fixed my typo.)

-- PeterThoeny - 17 Feb 2007

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-02-17 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.