Hide formatter
See Also
- NoDefaultCodeClass - CSS class workaround.
Last edited by OnegWR:
Replaces old-style internal links with new pipe-split links.
Fri, 20 May 2016 07:38 UTC [diff]
Replaces old-style internal links with new pipe-split links.
Fri, 20 May 2016 07:38 UTC [diff]
What
- This formatter would allow you to hide/not display a block from the source.
Use
- Add above the block to hide the string '%%(hide)'
- Add below the block to hide the string '%%'
e.g. %%(hide)This text is not shown...%%
- Remove all %% strings within the block
Suggestion: replace them by % % (percent SPACE percent)
Installation
- Either create an empty file named formatters/hide.php
- Or copy the code below in the file
Code
<?php
// Hide Formatter by OnegWR
// As we don't process the var $text here,
// the content of this block will be lost / not shown
?>
// Hide Formatter by OnegWR
// As we don't process the var $text here,
// the content of this block will be lost / not shown
?>
History
- Published on main site (2005-05-09) - OnegWR
Bugs
- Code-div still shows a block where the text has been in Wikka 1.1.6.0
CategoryUserContributions