Magento Themes and Magento Extensions

Add Static Block to Magento cms Page by updating the Design Layout XML

Share
Posted on December 19th, 2012 | Posted by admin

This is a very simple task.
Once you created the Static Block, simply go to CMS -> Manage Pages. Select your Page or create a new one.
Click on the Design tab on the left and paste the following code to the “Layout Update XML” textarea.
(Also, don’t forget to select the Layout, eg.: 2 columns with left (or right) bar)

<reference name="left">
    <block before="-" name="block-name" type="cms/block">
        <action method="setBlockId"><block_id>block-id</block_id></action>
    </block>
</reference>

Java’s advantage in shopping cart platform

Share
Posted on December 18th, 2012 | Posted by admin

Open source PHP shopping carts platform/framework occupy most top list. They are hot, and we want start quick. So, we are going to make decision between Magento and Opencart, PHP programmers would be happy to this end. While my Java programming colleges feel not so happy, they were selling Broadleaf commerce or JadaSite. But more online reading and discussion pushing us to this way. PHP shopping carts get more use and so tested more and they get support multiple shops and multiple vendors.

Nivo Slider in Magento Front Page

Share
Posted on December 17th, 2012 | Posted by admin

Here is a simple tutorial which will teach u how to put a slider on ur frontpage of a magento site.
I’m using nivo slider for this instance
First Download Nivo Slider from here

After that u upload the files from the downloaded pack to ur server as listed below
1) jquery.nivo.slider.js to root_dir/js/nivo-slider
2) nivo-slider.css to dir_to_your_theme/css/nivo-slider.css
eg. destination folder “root/skin/frontend/default/default/”
3) similarly upload the required images to the images folder of ur theme folder like dir_to_your_theme/images/arrows.png, etc..

Pass data from controller to view in magento

Share
Posted on December 16th, 2012 | Posted by admin

It’s may be very easy for Zend framework user But, I find some magento developer fighting to pass data from controller to view.
In magento you have to create a empty model(if your mod don’t have a varient object model) which extends to varient object. Magento use magic getter magic setter so you can pass value by setAnyname() and getAnyname() thus functions will be auto defines by Zend like many other framework do.

Magento adding you own custom RSS Feeds

Share
Posted on December 15th, 2012 | Posted by admin

You know you will need, before or after, to add your own custom RSS feeds to your Magento.
For example, I needed to create some custom RSS Feeds to list bestseller products by date (bestseller weekly, monthly, etc…)
How to do it? It’s quite complex but not so much if you follow this mini tutorial:

First of all, you need to setup a new namespace directory under your “local” dir, this will overwrite your current RSS Mage methods but not all.

So, create your directory app/local/Simplicissimus/Rss. (change Simplicissimus with your own Namespace and change it everywhere)

Create inside it the following directories:

  • Block
  • Block/Catalog
  • controllers
  • etc

Starting with the configuration XML, you need to create a file etc/config.xml like this:

Page 3 of 6«12345»...Last »