NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item5963: Tagmeplugin enhancement: prefix & suffix

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement Being Worked On Extension TagMePlugin Main.ColasNahaboo

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

ItemTemplate edit

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 Being Worked On
WaitingFor ColasNahaboo
Checkins TWikirev:17460
TargetRelease n/a
ReleasedIn 5.0.0
Topic revision: r4 - 11 Dec 2008 - 16:23:19 - UnknownUser
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads