Revision [7980]
This is an old revision of OnegWRHide made by OnegWR on 2005-05-09 14:06:05.
Hide formatter
See Also
- OnegWRNoDefaultCodeClass NoDefaultCodeClass - CSS class workaround.
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-05) - OnegWR
Bugs
- Code-div still shows a block where the text has been in Wikka 1.1.6.0
CategoryUserContributions