Tags:
create new tag
view all tags

Question

I would like to be able to automatically create a link on the originating page to the new page I'm creating. The new page is an automatically named page and in creating that page, I should be able to create a link back to the originating page without much trouble. Any ideas?

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Mandrake 8.1
Web server: Apache2.0.55
Perl version: 5.8.0
Client OS: WinXP SP2
Web Browser: Firefox 1.5
Categories: Forms

-- JoeDeal - 27 Feb 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

If you have an app that creates new topics based on a template topic you can use a URL parameter, e.g. %URLPARAM{"topicparent"}%. See example MeetingMinutes and MeetingMinutesTemplate.

A little less efficient is to use a SEARCH on itself to grab the parent. Example:

Parent:
%SEARCH{ "%TOPIC%" scope="topic" topic="%TOPIC%" nosearch="on" nototal="on" format="[[$parent]]" }%

Parent: AnsweredQuestions

-- PeterThoeny - 28 Feb 2006

Cool! THANKS! I'm slowly starting to think like a wiki.

-- JoeDeal - 28 Feb 2006

Its my opinion that TWiki should offer the capability to throw explicit backlinks into the text of any page that is referred to by the page just edited.

Just adding links to the bottom of referred-to the page would prompt others to incorporate proper links to the back links.

This is better than adding a search because it has no run-time impact and the link can be put into verbage that properly contextualises it.

There would need to be a tick box (ticked by default) to allow the author to inhibit the automatic backlinking.

-- MartinCleaver - 28 Feb 2006

Agreed, my response was to help existing customers. This will be possible once we have the ContentAccessSyntax.

-- PeterThoeny - 28 Feb 2006

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