php: smarty assign content plugin

I needed to assign a block of content to a variable instead of just a value.. so i set about creating this plugin function smarty_block_assign_content($params, $content, &$smarty) { $smarty = clone($smarty); //Copy the original class, so there's no garbage variables … Continued

php: Menu Classes

Recently I’ve been working on my own framework (we’ve all done it i’m sure) and part of this was a menu handling system. The basis really is simple, we have a menu item which really is just link and text. … Continued