Tags:
create new tag
, view all tags

MultipleEditsOnSamePage

If you take a look at this page: http://gentoo-wiki.com/HARDWARE_Setup_MythTV . You'll notice that you can hit edit within a given page. When you do this, it only edits that "block" of text. See my example below:

i.e. given this wiki page:

title 1
  title 2
    info10
    info11
  title 3
    info 12
    info 13
If I hit edit on title 2, then in my edit screen, all I'm able to edit is this:
  title 2
    info10
    info11

Whereas, if I hit edit on title 1, then I get the normal twiki behavior and am able to edit this:

title 1
  title 2
    info10
    info11
  title 3
    info 12
    info 13

I found that while changing pages on the gentoo wiki, it was easier to keep track of what I was messing with. Here's the wiki that drives the gentoo wiki: http://wikipedia.sourceforge.net/

My 2 cents...

-- CarterSmithhart - 16 Jan 2005

You can do something like this right now in twiki by INCLUDING pages for each section. e.g. included topic 'SectionOne'

%STARTINCLUDE%
---+ Section One heading
blacvh
blah
| <a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%?t=%GMTIME{"$year$month$day$hours$minutes$seconds"}%"   >Edit the <nop>SectionOne section</a> |
%STOPINCLUDE%

and included 'SectionTwo' topic:

%STARTINCLUDE%
---++ Section Two heading
blacvh
blah
| <a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%?t=%GMTIME{"$year$month$day$hours$minutes$seconds"}%"   >Edit the <nop>SectionTwo section</a> |
%STOPINCLUDE%

and then the 'MasterAllInOne' page:

%INCLUDE{SectionOne}%
%INCLUDE{SectionTwo}%

Another approach would be to craft a narrow search and use BookView for the main page.

There are several topics on twiki.org discussing potential less "hacky" methods for multiple includes, but I'm not sure of their names at the moment.

-- MattWilkie - 17 Jan 2005

Or you can use SectionalEditPlugin.

-- RichardDonkin - 17 Jan 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-01-25 - WillNorris
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.