I want to use Displaze Protoshow slideshow on my home CMS page. The following code is suggested by Displaze to insert the slideshow in a CMS page:
{{block type="myslideshow/slideshow" template="displaze/myslideshow/slideshow.phtml"}}
If I use this code, I get the following error when the home page is loaded:
ERR (3): Warning: include(): Filename cannot be empty in /var/www/mage/app/code/core/Mage/Core/Block/Template.php
So I tried to use
{{block type="Displaze_MySlideshow_Block_Slideshow" setTemplate="displaze/myslideshow/slideshow.phtml"}}
The error is gone, but the block is still not rendered.
On request the block code:
class Displaze_MySlideshow_Block_Slideshow extends Mage_Core_Block_Template
{
/* Some function */
}
The extension etc/config.xml
code:
<config>
<modules>
<Displaze_MySlideshow>
<version>1.7.1</version>
</Displaze_MySlideshow>
</modules>
<global>
<helpers>
<myslideshow>
<class>Displaze_MySlideshow_Helper</class>
</myslideshow>
</helpers>
<!-- Global Blocks definition -->
<blocks>
<myslideshow>
<class>Displaze_MySlideshow_Block</class>
</myslideshow>
</blocks>
...