Magento 2: Override/Rewrite Block, Model, Controller, Helper using Plugin & Preference

This article shows how you can override / rewrite Block, Controller, Model, and Helper in Magento 2. This can be done by two ways: 1) using Preference 2) using Plugin Preference is similar to class rewrite in Magento 1. There is always possibility of conflict when two or more custom modules try to rewrite/override same … Read more

Magento 2: Before & After Method Observer using Plugin

Magento 2 provides a new feature called Plugin or Interceptor that is used to run some code before/after/around any function call of any public class. Hence, with the help of Plugins, we can change the behavior of class method without making any changes in the code of the class itself. This also avoids conflicts with … Read more

Joomla: Show Module inside Article

Sometime you might need to show any module’s content inside your article. For example, you have installed a image slideshow module. Now, you might need to show the image slideshow within your article page. For this purpose, Joomla CMS comes with the default plugin (Content – Load Modules) to show module’s content in any article. … Read more

jQuery: Cool Bouncing Navigation with easing plugin

Here, I will be showing you how to create a cool bouncing navigation with jQuery and jQuery easing plugin. The content appears with the bouncing effect as you navigate through the menu. You need jQuery Library and the jQuery easing plugin. But you need not worry, I have zipped them all in the download file. … Read more