How to Conditionally remove Magento header/footer?

Are you looking for a solution to conditionally remove Magento header footer but don’t know where to start? Right in this post I will show you how to create custom layout handles and utilize them to conditionally remove header/footer blocks.

In some cases there is a need to remove Magento header or footer from pages, for example you are creating some custom landing page and you don’t want to put header or footer or want to remove both from that page, this tutorial will help you achieving it.
Continue reading “How to Conditionally remove Magento header/footer?”

How to make certain field readonly or disabled based on some other field’s value using SugarCRM Dependencies

Let’s suppose you want to make Mobile field readonly based on Title field’s value in Contacts Module.

SugarCRM Dependencies:

You can achieve above with SugarCRM Dependencies. Experienced SugarCRM developers already know about Dependencies but if you are not familiar with them, no worries and carry on reading! Continue reading “How to make certain field readonly or disabled based on some other field’s value using SugarCRM Dependencies”

Add custom Javascript in Magento admin form

In previous post we learnt how to render custom html in tabs block. Now lets add custom JavaScript in Magento admin form. Magento is flexible enough to insert your custom JavaScript code snippets in forms created by your very own Magento modules & extensions. Continue reading “Add custom Javascript in Magento admin form”

Toggle checkboxes with jQuery and Prototype JS

Sometimes you work with forms having a long list of checkboxes, in such scenarios a “Check All” or “Toggle Selection” button comes handy. Such button can save your time by toggling your selection with one click.
Continue reading “Toggle checkboxes with jQuery and Prototype JS”

How to render custom phtml in Magento admin tabs block?

It’s possible to add custom tabs on any page of Magento administration panel. Normally tabs are generated by Form Blocks, this is fine if you want to create standard forms but what if you need to render something totally different. Life can get very easy if we can render our custom phtml file. Embrace the high flexibility of Magento because its possible to render custom phtml in Magento admin tabs block in two simple steps.
Continue reading “How to render custom phtml in Magento admin tabs block?”

How to create custom form in WordPress and handle submission?

There are cool plugins available that create forms without any programming effort but still many times we need to create custom forms in our WordPress website.
Continue reading “How to create custom form in WordPress and handle submission?”

Get custom attribute value in Magento

So you have created some custom attributes for your Magento products and now you want to fetch their values. Magento provides a function getAttributeText that takes attribute code and returns you the attribute value.
Continue reading “Get custom attribute value in Magento”

WordPress search filters based on custom fields

WordPress custom fields are good for adding meta data to posts. These custom fields are not just for displaying data but can be used to sort and filter posts. You may be interested in making a form to filter posts by custom fields.

Continue reading “WordPress search filters based on custom fields”