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:




    <!-- Global Blocks definition -->
  • the first option is the standard way, could you please post your block and config.xml so we can see if there is an issue with those. – David Manners Nov 8 '13 at 13:18
  • check if the extension is compatible with your magento version. also see if all the files are properly placed in their location. – Kalpesh Nov 8 '13 at 13:33
  • @DavidManners done – i.amniels Nov 8 '13 at 14:18

This error happens when the template that is specified under template does not exist. Please double check that this template is there and that it can be found in you theme set-up.

To double check. I am running and have downloaded this extension and this extension does not happen with the default set-up.


The template files were located on app/design/frontend/default/default/template instead of app/design/frontend/base/default/template.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.