We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You must opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
archive_me1Add my vote for this tag create new tag
, view all tags
Hi there, Has anyone implemented getting Twiki to insert a back reference to the referring page when you are creating a new topic?

So, for instance, if I create a page called MainPage that says:


This has three items:

  • ItemOne
  • ItemTwo
  • ItemThree


Then if I create ItemOne by clicking on it, its default contents are:


See MainPage

-- MartinCleaver - 26 Mar 2001


I looked at implementing this with the Search function. Immediately, the first problem was getting search to return a link instead of a whole reference line.

But, after grinning and bearing it, and after creating a few pages, I soon came to realize that one typically doesn't want to know about all the links that reference this page - especially when writing directed documentation. (If you really want to know this, then just click on the Ref-By link at the bottom of the page.)

However, I agree that one might want to use a function in the "new" template that can acquire the "page that was clicked on" that got the user to the new template. Unfortunately, I have no idea how to implement this!

-- BruceDawson - 27 Mar 2001

I think it would be just a case of passing in a created-by parameter on the URL line with the name of the page that had seen the undefined topic and having the create script use this to create a back link.

-- MartinCleaver - 28 Mar 2001

TopicClassification:
FeatureBrainstorming
Topic revision: r3 - 28 Mar 2001 - 10:14:24 - MartinCleaver
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback