When creating a topic from a template, can I make it so that %MACROs% are expanded on save?


 created this topic at %SERVERTIME% in %WEB% web when there were %SEARCH{"1" type="query" nonoise="on" format="" footer="$ntopics"}% topics in it

There are currently %SEARCH{"1" type="query" nonoise="on" format="" footer="$ntopics"}% topics in %WEB%

IDEA! Note that the SEARCH and WEB macros inside the expandvariables section are expanded on save; whereas the same macros outside of that section, are saved verbatim.


Using Faq58Template:

Created topics

Searched: parent.name='Faq58'
Number of topics: 1

Support.FAQForm edit

TopicClassification FrequentlyAskedQuestion
Subject Editing, Usage
Topic Summary Demonstrate usage of VarSTARTSECTION's expandvariables parameter in topic templates
Interested Parties
Related Topics TemplateTopics, VarSTARTSECTION
Topic revision: r5 - 27 Dec 2011, ArthurClemens - This page was cached on 28 Sep 2017 - 00:25.

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