Hi!
I use fuel_block() with some logic to display main navigation on the site, my site is multilingual and I need to make this block cached, but when I change language version it displays version of the block that has been cached first...
<?php echo fuel_block(array('view' => 'mega_menu' ,'cache' => true, 'language' => $selected_lang)); ?>
Prompt how to configure caching for multilingual blocks?
p.s.
block 'mega_menu' is a view file and does not exists in CMS
Comments
if (!empty($p['language'])) $cache_id .= $p['language'];
Thank You!