* @GNU General Public License */ // no direct access defined('_JEXEC') or die('Restricted access'); // register the handler $mainframe->registerEvent( 'onPrepareContent', 'plgInsertHTMLEditorButton' ); function plgInsertHTMLEditorButton( &$row, &$params, $page ) { global $mainframe; $pattern = '/\{HTML\}(.*?)\{\/HTML\}/i'; // match {HTML}...{/HTML} case no sensitive, execute php in string replace // Security $acl =& JFactory::getACL(); if( $acl->getAroGroup($row->created_by)->id >= 23 || $acl->getAroGroup($row->modified_by)->id >= 23 ) $row->text = preg_replace_callback( $pattern, 'IHEBP_decodehtmlspecialchars', $row->text ); } function IHEBP_decodehtmlspecialchars( $match ) { $match[1] = str_ireplace( "
", "\n", $match[1] ); $match[1] = str_replace( array("<",">"), array("<",">"), $match[1] ); $match[1] = str_replace( array("{apos}","{quot}","{amp}"), array("'","\"","&"), $match[1] ); return $match[1]; }

Tips for getting the most from your bokashi

  • To successfully 'pickle' the contents the lid must be airtight.
  • Compress the waste (after putting on bran) with something like a potato masher to help remove air.
  • Drain off the liquid every few days and use within 24 hours.
  • Keep the unused bran in dry conditions.
  • Cutting waste into small pieces and freezing it allows more infrequent filling, especially if waste amounts are minimal.
  • Bokashi contents can be quite sludgy, so sprinkle finely into the compost bin and add a layer of scrunched up paper or cardboard on top.

If you would like to share your own tips, or have questions regarding bokashi bins, please feel free to post a comment below.

Dim lights Embed Embed this video on your site

Add comment

Security code