Tags:
create new tag
, view all tags

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

TWiki version: TWikiBetaRelease
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin

-- 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

Topic revision: r2 - 2003-12-24 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.