• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5963: Tagmeplugin enhancement: prefix & suffix

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TagMePlugin Enhancement Closed ColasNahaboo n/a 5.0.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Enhancement to Tag Me Plugin: prefix and suffix

I have added simple options to the "showalltags" action:
| prefix="..." | Printed before the list of tags if it is not empty, $n can be used for newlines. e.g: prefix="Tags: <i>" | "" |
| suffix="..." | Printed after the list of tags if it is not empty, $n can be used for newlines. e.g: suffix="</i>" | "" |
This allows to not show anything, useful on public sites, and to only show tags on "content" pages, not admin ones.

See http://twiki.org/cgi-bin/view/Plugins/TagMePluginDe, comments at 22 Aug 2008

-- TWiki:Main/ColasNahaboo - 26 Aug 2008

Sven wrote:

mmm, I suspect that these should be called header and footer - to be consistent with other TML (SEARCH seems to have header, I thought it had footer..)

This is going to become more important once the extract formatting twiki5 feature is done - consistency will become simpler smile

I deliberately chose another name, as it seems to have different semantics: header/footer is always added (and even in the middle of subparts) prefix and suffis is only added is the content is nonempty

But you are right, I may be splitting hairs here (and raising the nerdometer :-). By grepping, it seems that only the Twisty and Skills plugins use prefix/suffix names.

I will make it header/footer

-- TWiki:Main.ColasNahaboo - 27 Aug 2008

Closing stale item. (Was implemented with spec change to header and footer.)

-- TWiki:Main.PeterThoeny - 2010-10-12

ItemTemplate
Summary Tagmeplugin enhancement: prefix & suffix
ReportedBy TWiki:Main.ColasNahaboo
Codebase 4.2.2
SVN Range TWiki-5.0.0, Mon, 18 Aug 2008, build 17431
AppliesTo Extension
Component TagMePlugin
Priority Enhancement
CurrentState Closed
WaitingFor ColasNahaboo
Checkins TWikirev:17460
TargetRelease n/a
ReleasedIn 5.0.0
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2010-10-12 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback