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.
8 comments
I can not dowload the updated ActiveCodeline_WidgetOne.tar.gz from http://activecodeline.com and from http://ajzele.net/wp-content/uploads/2009/12/ . Please help me.
The old version is not working on magento 1.6 and 1.7
Great start up for beginners. Thanks!
Was able to open the corrupt file. Here’s the original auther, Branko Ajzele, http://activecodeline.com
And you can find an intact version here.
http://ajzele.net/wp-content/uploads/2009/12/ActiveCodeline_WidgetOne.tar.gz
Thanks for the great content, you’ve helped me out on more than one head scratcher. 🙂
I think that tar file was damaged and Pls check the same.
@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.
This BlankWidget looks nice here in the Post.
But it looks like the archive is damaged?
btw. u got the best Blog ever seen
Thank you for the widget examples, they’ve been really helpful in learning.
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.