Blank Magento widget to get you started with Magento widget development

5 Comments 9th DEC 2009 | Posted by Branko Ajzele in Magento

Blank Magento widget to get you started with Magento widget development

Hello inchoo readers. As we are nearing the Christmas time, I felt I could write down some free code and share with you. Yesterday I got all excited seeing Magento 1.4 beta1 available for download. As you can guess, it did not took me long to download and install it. One of the most interesting features, for me, are the widgets.

Personally I see the widgets plus WYSIWYG implementation as a great boost to user (site owner) friendly admin section. It can be a real mess having your client call {{block type=”myextension/myclass” … bla bla bla… }} code each time he wishes to show some custom coded block on certain pages or so. Magento widgets handle this quite nicely, all you have to do is point and click :) .

Also, keep in mind that widget functionality is available not only on the CMS pages but on static blocks, product descriptions, category descriptions etc. This is extremely useful and usage scenario is breathtaking. One can build all sort of features based on the purpose of the widget.

Below you will see few screenshots of my widget implementation, how it looks in admin section and in frontend.

Also, here [ ActiveCodeline_WidgetOne.tar.gz ] is the attached fully functional “blank” Magento widget extension. Hopefully it will help you learn initial widget requirements, if you are new to the concept and development in Magento.

If you like what you read, please share it.

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Reddit
  • Technorati
  • Twitter
  • StumbleUpon
  • LinkedIn
  • Netvibes
  • NewsVine
  • Sphinn
  • Tumblr
  • Posterous

To post code in comments, place your code inside [code] and [/code] tags.

There are 5 comments (Add Yours +)

  • Thanks for the file – I am in the process of phpxrefing the beta as we speak and will have it available online shortly (www.tweakmag.com/phpxref). Can’t wait to check out the new release. Thanks again.

  • Thank you for the widget examples, they’ve been really helpful in learning.

  • XConsider Says

    This BlankWidget looks nice here in the Post.
    But it looks like the archive is damaged?

    btw. u got the best Blog ever seen

  • @XConsider: this will probably extract the archive:

    gunzip ActiveCodeline_WidgetMiniFeedReader.tar.gz
    tar xvf ActiveCodeline_WidgetMiniFeedReader.tar

    Taken from someone else’s comment on another post here.

  • I think that tar file was damaged and Pls check the same.

Leave a Comment

Please wrap all source codes with [code][/code] tags.
Magento Design and Development | Magento SEO | iPhone Application Development Web Application Development with ZEND | WordPress Ecommerce | WordPress development
Sitemap

Inchoo - webappsolutions | 2009