Posts Tagged: Block
-
Aug 12, 2010
No CommentsWorking with Ajax and JSON Objects in Magento [Case: Ajax Powered Login Functionality]
Previously I have written about Working With Ajax in Magento. And after a huge response I received from that post I was compelled to write more on implementing Ajax in Magento. And this time I want to say additionally about handling JSON (JavaScript Object Notation) along with Ajax, within the Magento enviornment. JSON Objects and...
-
May 04, 2010
No CommentsSolution: Error Message Not Showing up in Frontend in Magento
I recently got to a situation where I needed to add a new frontend template for some module and after some action show the error or success message. Not the first time though . Interesting thing was even if I added this code in the PHTML...
-
Dec 25, 2009
No CommentsCreating Block From the Code in Magento
Here are some methods of creating block by code in Magento. This type of code can be used directly in template, not need to create a layout file or add a child node inside already existing layout file. You can use this to echo a different type of block inside already loading block and...
-
Dec 22, 2009
No CommentsGetting Rescent Rating Summary of a product in Magento
Magento has a default option to show the overall rating’s summary of the product, which is shown in the product view page. This summary is based on all the review posted and approved for the particular product. In the summary the stars are shown accordingly, by taking the sum of all reviews and calculating the...
-
Dec 21, 2009
1 CommentShowing Breadcrumbs Anywhere in Magento
In Magento, by default there is a reference place where breadcrumbs get showed, that is just above the content reference! But, sometimes you need to show the breadcrumbs twice! above and below the content. Or sometimes you just need to show the breadcrumbs inside the content, due to some designing issue! I’ve gone through these...
-
Dec 11, 2009
No CommentsDebugging Technique in Magento – Chapter 1 :: Debugging Layout
I’ve been working in Magento, for 1 year now! During this whole year I have learnt a lot, and have been sharing my learnings through this Blog. One of the thing that strikes me a lot is the debugging technique. My collegue ask me a lot regarding Debugging Modules Functionalities, Debugging Module’s Layout and its...
-
Dec 09, 2009
1 CommentAdding Tabs in Product View Page Through Layout In Magento
One of my new colleague, today asked me how to add tabs in product view page in Magento. He told me earlier he had used his own tabs CSS and Javascript to do, but now he found out that Magento gives default Tab Javascript to do the same. Then, I thought why not share with...
-
Nov 17, 2009
24 CommentsWorking with AJAX in Magento
Ajax in Magento can be pretty troublesome.Because you will need to take controllers and layout into account.And I almost used up a whole day trying to make ajax work. Here are some of the steps I’d like to share so that you will not waste lots of your time, before making this work . Let’s...