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 Topic Markup Language and applications: Answered

Possibility to substitute include macro calls by content

Is it possible to automatically replace all include macro calls by topics content? For example having topic with following content:

I would like to have topic1 and then topic2 content copied to this topic on saving my topic.

-- MateuszKDzior - 09 Nov 2015

You can do this during topic creation, but not later after topic exists. Read through TemplateTopics. In the Macro Expansion section, the %STARTSECTION{type="expandvariables"}% section is described. Anything inside that section will be expanded. This is used in the ! WebTopicEditTemplate that serves as the default text for new topics.

-- GeorgeClark - 09 Nov 2015

QuestionForm edit

Subject Topic Markup Language and applications
Version Foswiki 2.0.2
Status Answered
Related Topics
Topic revision: r2 - 09 Nov 2015, GeorgeClark - This page was cached on 15 Oct 2018 - 00:53.

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