I installed a plugin. The only option to use it is to place this code in a CMS page: {{block type="ve_easyslide/list" template="ve/easyslide.phtml"}}.

Firstly, what are these blocks of code called and what does it do?

Secondly, how could I use this in a static block? When I try and put it in a static block now it just displays the code on my site.

1 Answer 1


It's called magic variables.

{{block type="catalog/product_list" template="catalog/product/list.phtml"}}

is equivalent to layout's XML:

block type="catalog/product_list" template="catalog/product/list.phtml" /

that you can find in catalog.xml in example. Type attribute points to class - in this example it's:

Mage_Catalog_Block_Product_List and template, well, points to template file :)

You can use the same code in static block but be sure to insert the code while WYSIWYG editor is off.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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