Question
There are variables that give me my TOPIC name, INCLUDINGTOPIC name, and BASETOPIC name.
What will give me my PARENTTOPIC name?
Environment
--
VickiBrown - 02 Jul 2007
Answer
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.
%META{"parent" dontrecurse="on"}% (see
VarMETA) will produce a
link to the parent. This is not quite equivalent to a plain variable, but as close as you can get. Please re-open if this doesn't help you!
--
HaraldJoerg - 02 Jul 2007
I don't want a link. I want the name.
for example, I have a template that pulls information from its parent topic's form. I've been setting the value of the parent using passed URL params when the template is used to create a page.
However, I recently renamed a bunch of pages while moving them to a new web. By the rtime this was done, I had to edit the children accordingly because their parent had undergone a name change. If I had a variable, I coould have simply reset the parent.
Feature request
filed.
--
VickiBrown - 02 Jul 2007
duh
--
VickiBrown - 09 Jul 2007