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