I would like to load header using fuel_block(). I tried to load it in the main using the following code <?=fuel_block(array('view'=>'_blocks/header'))?> But it is not coming. Can you please help?
I'm guessing it's trying to be parsed? If so you can wrap it in "literal" Dwoo templating tags like so: {literal}<script>....</script>{/literal} Or you can pass the "parse" value of FALSE like so: <?=fuel_block(array('view'=>'_blocks/header', 'parse' => FALSE))?>
Comments
{literal}<script>....</script>{/literal}
Or you can pass the "parse" value of FALSE like so:
<?=fuel_block(array('view'=>'_blocks/header', 'parse' => FALSE))?>