I have create a custom block using Bean. It have a field collection and that field collection have 8 values. I have create a bean.tpl.php to override block. Now i need to know how can i get that field collection values using loop inside bean.tpl.php file.
First you need enable for create tpl name bean.tpl.php call for every bean type.
$conf['theme_debug'] = TRUE;
In this tpl you get $content variable . Please print_r($content) in tpl or install devel module to dmp($content). I suggested you install devel module. After that you can find your field collection
Load field collection like this