Tags:
create new tag
view all tags

Question

Pages that are created using a form (like this page was) don't get any Parent metadata. The net result is that all such form-created pages are orphans. This is a great pity! Would it not make sense that the parent would be the page with the create-form?

The URL for the edit view I am currently working in is http://twiki.org/cgi-bin/edit/Support/?topic=ThisPageHasNoParent&SupportStatus=AskedQuestions&onlywikiname=on and as far as I can tell, certain parameters are passed using ? as a separator. Would it be possible to extend this URL with another parameter in the lines of ?parent=(form source page) ?

If I knew more about the code behind Twiki then I would probably be able to create my own little hack for this in no time. Perhaps I'll be able to contribute such in the future, because I have finally gotten another pc at home that I will use as my Twiki sandbox for this very purpose.

  • TWiki version: 01Dec2001
  • Perl version: 5.6.something
  • Web server & version: Apache 1.something
  • Server OS: RedHat 7.something
  • Web browser & version: IE6.0
  • Client OS: WinNT4SP3

-- TorbenGB - 02 Apr 2003

Answer

Good point, and already possible with the topicparent=AnyTopic parameter. The docs are updated, see TWikiTemplates, Template Topics in Action.

-- PeterThoeny - 02 Apr 2003

Follow-up

So simple, so elegant. Thank you Peter!

-- TorbenGB - 03 Apr 2003

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003-04-03 - TorbenGB
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.