Generrally in magento store some of the default functionality and modules are there which comes by default in some location.Some people needs these default blocks and some don't.That means they need to disable those undesire modules or blocks.In this article I am going to show you how to disable some of default modules and blocks of content, like the callout banners in the right and left columns, or the poll, or newsletter signup.Also here you will be getting two different ways for disabling default modules and block content like:
Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts
24 Feb 2014
20 Feb 2014
Get list of categories ,subcategories and sub-subcategories in custom script
This tutorial is going to show you one of the ways to list all sub-categories and sub sub categories through custom script for your Magento store.In This script I have shown all subcategories on the basis of main category means Root Catalog's Id.
If you change the $id = 1 then it will display suabcategory upto the first level that looks like below.
If you change the $id = 1 then it will display suabcategory upto the first level that looks like below.
10 Feb 2014
Magento : Get Base Url,Skin Url,Media Url,Js Url,Store Url and Current Url
There are different way to retrieve different URL paths depending in which section you’re editing.So Magento Mage Core, Admin Static Blocks, or Phtml edits are usually includes getting url path such images, javascript, base url, media and store url.Lets get the different URL on different location by following the below examples.
28 Jan 2014
Odesk php 5 exam question and answer
Question: You have two strings, which you want to concatenate.
$str1 = ‘Have a ‘;
$str2 = ‘Nice Day’;
The fastest way would be:
a. $str1.Concat($str2);
b. $str1.$str2;
c. “$str1$str2”;
d. None of the above
$str1 = ‘Have a ‘;
$str2 = ‘Nice Day’;
The fastest way would be:
a. $str1.Concat($str2);
b. $str1.$str2;
c. “$str1$str2”;
d. None of the above
19 Jan 2014
Magento: Creating custom attribute using sql setup in custom module
/* Magento: Creating custom attribute using sql setup in custom module */
Here I am going show how to create a simple product attribute programatically.I have created a simple script which is creating the product attribute when I do install my module or upgrade my module.So please look at the below code which I have created.
29 Jul 2013
Php Variables
General Syntax of a PHP Variable is :
A variable starts with the $ sign, followed by the name of the variable
A variable name must begin with a letter or the underscore character
A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ )
A variable name should not contain spaces
A variable starts with the $ sign, followed by the name of the variable
A variable name must begin with a letter or the underscore character
A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ )
A variable name should not contain spaces
4 Jun 2013
How To Make My First Php Program And Run It.
For installation of PHP ..you can download wamp server from http://www.wampserver.com/en/ or http://www.php.net/manual/en/install.php
Let’s see how to make and run PHP code for the first time in your computer.
Let’s see how to make and run PHP code for the first time in your computer.
Subscribe to:
Posts (Atom)