New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Needs followup in Tasks

Set the parent topic

I can't figure out how to set the parent topic. In my template I use the follwoing code: %TOPICCRENEWNOP%OP%ATE{ template="ProduktDokumenteTemplate" topic="%TOPIC%Plane" parent="%TOPIC%" }%

When I create a new Topic from this template it automaticly creates the sub page using the ProduktDokumenteTemplate. But it sets the parent to WebHome instead of what ever the new Topic is. If I omit the "parent=%TOPIC%" the new page has the same parent as its tamplete (ProduktDokumenteTemplate) had.

What am I missing here?

Your not missing anything, its a bug frown, sad smile

It should default to using the new topic as the parent, and "parent=%TOPIC%" should also work.

I filed a task at Tasks.Item8480 and will release a new version today.

-- AndrewJones - 08 Feb 2010

The new version (dated 08 Feb 2010 ) still does not set the parent correctly. The parent defaults to the topic that created the template page that contains the TOPICCREATE macro (the topic that creates the rest of the topics), and the "parent="..."" setting does not work. I tried it both ways, by setting it to a macro (URLPARAM and TOPIC) and setting it to a specific topic name.

-- StefanosKouzof - 26 May 2010

QuestionForm edit

Subject Using an extension
Extension TopicCreatePlugin
Version Foswiki 1.0.9
Status Needs followup in Tasks
Topic revision: r5 - 10 Jan 2013, GeorgeClark - This page was cached on 13 Aug 2018 - 13:37.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy