Tags:
create new tag
view all tags

Question

Hi,

we have added a discussion functionality to our wiki. Therefore, we have created a web called Discussion and a button "Discussion" between "Attach" and "Printable". The first time, the button is pressed for a topic a new topic with the name web_topic is created in the Discussion web. Afterwards, the topic is just opened. That works fine but when I rename a topic I have a problem if I move it into another web. I want to rename the corresponding discussion topic together with the other topic. It should be easy because I only have to replace the prefix of the discussion topic by the new web. My problem is that I cannot find out how the templates for renaming work. Can you tell me how I have to adapt the scripts?

Thanks!

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linux
Web server: Apache
Perl version: 5.8
Client OS: Windows XP Service Pack2
Web Browser: Firefox, Internet Explorer
Categories: Javascript, Skin

-- KirstinWeber - 14 Oct 2008

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.

Unfortunately each rename request can only rename a single topic. So you would have to send multiple rename requests to the server to do this. You could do this from Javascript, but it would be tricky to get right for various reasons (multiple overlapping requests tend to irritate servers). Alternatively there may be a plugin that supports what you want to do (I'm not aware of one, but there are a lot of plugins). If not, you could always raise a feature request and try to interest someone in doing this; I believe the question has been asked before.

-- CrawfordCurrie - 20 Oct 2008

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-10-20 - CrawfordCurrie
 
  • 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.