Call a custom template file into a CMS page

MagentoI had to create a customized search box and display it on the homepage, generated as CMS page with some features.
To do so, here a small command:

{{block type="core/template" template="path/filename.phtml"}}

Where the path to the file is on the current theme directory.

Enjoy!

Advertisements

Your opinion is important!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s