Question
Hi- Using the Dec 18th Beta Release on a Dreamhost server, I've bumped into another problem that doesn't seem addressed anywhere:
<noautolink> and
"set NOAUTOLINK = on" work fine in the main text of a page, but NOT in a template.
AND
%META{"parent"}% works fine in a template, but NOT in the main text of a page.
SO
How can I show the user the Parent page WITHOUT having it linked, or sometimes (in my case) with a question mark after it.
Thanks !
Environment
--
SamAbrams - 24 Dec 2003
Answer
This area needs some enhancements.
Currently you can't get at the parent meta data in the topic text.
In the templates you can use use
%META{"parent"}% with options, see
TWikiMetaData#Rendering_Meta_Data
However, the current implementation always renders the topics as links. You would need to tweak the
sub renderParent in
TWiki.pm with a new option to not render topics as links.
Related topics:
SimplifyInternalMetaDataHandling,
HowToShowParentTopics,
PatternSkinCodeChanges,
RenderMetaInOtherTemplates
--
PeterThoeny - 24 Dec 2003