Tags:
create new tag
view all tags

Question

I am working on a simple wiki app. I have a button on a page that creates a new topic based on a topic based template, just alittle Text and a Form on the template topic. Works just fine. When I change the template topic the change does not take effect the next time I create a new topic based on the template. It seems like the old version is cached in some way. If I rename the template it seems to take the change. Any thoughts are greatly appreciated.

Environment

TWiki version: TWikiRelease04x02x03
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003
Web server: Apache 2.2
Perl version: 5.8.8
Client OS: Windows
Web Browser: Firefox
Categories: Forms

-- TimBacon - 15 Dec 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.

Make sure that the edit or save URL you generate is unique each time you submit the form to create a new page. This can be done with a hidden input field:

<input type="hidden" name="t" value="%SERVERTIME{$epoch}%" />

Are you a developer, tech writer or marketeer with interest in open source? Have you ever participated in an open source community? It's lots of fun to collaborate on a common goal. The twiki.org community is looking for new contributors. The recently introduced TWikiCodeOfConduct brought more balance to the project where you as a contributor can actively make a difference and help shape the product. To get started:

We'd love to get you involved!

-- PeterThoeny - 15 Dec 2008

That was it! Greatly appreciated, this was driving me insane!

Sorry not a developer or tech writer.

-- TimBacon - 19 Dec 2008

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