Articles in this series

Author - Robert Popovic

Founder and Technical Director of LERO9, a web agency specializing in Magento and WordPress design and development.

I launched Magebase in April, 2010 and am its editor and contributor. My main topics of interest are Magento development, customization and how to get the most out of Magento with the least amount of headache.

More Info » Follow me on Twitter »

Reader Comments (20)

  1. Toby
    September 20, 2010 at 9:22 pm /

    Hi, thanks for this tutorial, but I was wondering if you could help me out. I’ve installed the extension (under Magento making sure to move the template files to the correct location) but now in my sidebar I just see “You need to set up your random CMS blocks. You need to set up your random CMS blocks.”

    How do I set up my random CMS block for this extension?


  2. Toby
    September 21, 2010 at 10:32 pm /

    Hi Robert, I’ve got the random block to display on the product page now, but can’t see how to add it to other pages – could you give me an overview of how to do this please? Thanks

  3. Toby
    September 24, 2010 at 7:47 am /

    Actually, something strange I’ve noticed – I’ve set the random block to appear on all pages, but now it appears twice on the product page – any suggestions? Is it possible to disable it from the sidebar on the product page?

  4. Rev
    December 9, 2010 at 9:35 am /

    Hi, thanks for this brilliant tutorial, but I have a problem.

    I’ve installed the extension (under Magento making sure to move the template files to the correct location), and I’ve added some testimonial-x static blocks. Instead of changing XML to place the output so I’ve used the curly brackets method you mentioned and placed the following code in a static block:

    {{block type=”core/template” template=”randomtestimonial/block.phtml” number=”2″ title=”Our Customers Say:” identifier=”testimonial-“}}

    When I go to my homepage I get the “There has been an error processing your request”, any ideas what I’ve done wrong?


  5. Rev
    December 13, 2010 at 10:20 pm /

    This is the first line of the debug email I get:

    Warning: include(/home/revramo1/public_html/oprssd/omshp/app/design/frontend/default/default/template/randomtestimonial/block.phtml) [function.include]: failed to open stream: No such file or directory in /home/revramo1/public_html/oprssd/omshp/app/code/core/Mage/Core/Block/Template.php on line 144

    There’s a load of trace stuff as well, it’s pretty long, do you want that too?!

    1. Rev
      December 17, 2010 at 1:15 am /

      Been playing around but still no luck, I know I’ve made a basic error but I can’t figure out what!

  6. Rev
    December 21, 2010 at 12:56 am /

    D’OH, my bad, yes I knew it was a stupid error, I’d missed out a directory in the path, this is the correct code:

    {{block type="core/template" template="magebase/randomtestimonial/block.phtml" number="2" title="Our Customers Say:" identifier="testimonial-"}}

    OK, so the now the site isn’t crashing, but I get the “you need to setup some random blocks” text, except I already have setup blocks testimonial-1, testimonial-2, testimonial-3, and as you can see from the code above the identifier is set correctly.

    What else should I check?!

    1. Rev
      February 25, 2011 at 7:38 am /

      Hi Rob

      Just wondering if you had any further thoughts as to why I’m getting the “you need to setup some random blocks” text, even though I already have setup blocks testimonial-1, testimonial-2, testimonial-3 etc.?

  7. David
    February 18, 2011 at 9:33 pm /

    Hi Rob,
    I successfully installed this module (which is brilliant btw!) but my client prefers to have static testimonial blocks in the end… Is there an easy way to kinda disable this functionality? How do I go about that? Thx a million 😉

    April 2, 2015 at 11:11 am /

    Today, while I was at work, my sister stole my iPad and tested to see if it can survive a forty foot drop, just so she can be a youtube sensation. My iPad is now destroyed and
    she has 83 views. I know this is entirely off topic but I
    had to share it with someone!

    Check out my web site :: Jesus (

  9. Akarsh Kumar
    Akarsh Kumar
    May 23, 2016 at 10:17 pm /

    Is this compatible with Magento CE


Add a Comment & Join the Discussion

Insert small snippets of code by using [code]{your_code_here}[/code]
For larger code blocks please use and paste your link.

You may also use the following HTML in your comment: <a href="" title=""> <abbr title="">
<acronym title=""> <blockquote cite=""> <cite> <em> <strike> <strong>