Wiki source for OnegWRHide
===== Hide formatter =====
>>==See Also==
~- [[OnegWRNoDefaultCodeClass | NoDefaultCodeClass]] - CSS class workaround.
>>//NOT Included in any Wikka version yet//{{lastedit}}
==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)
<?php
// 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
>>==See Also==
~- [[OnegWRNoDefaultCodeClass | NoDefaultCodeClass]] - CSS class workaround.
>>//NOT Included in any Wikka version yet//{{lastedit}}
==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)
<?php
// 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