Edit Magento Header Links

Edit Magento Header Links

To edit header links please locate the layout xml files in you theme or the xml file is not found on the theme layout folder you can find the file in base layout folder. ie. “app/design/frontend/base/default/layout” My Account Open customer.xml file and find the below mentioned code. <default> <!-- Mage_Customer --> <reference name="top.links"> <action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action> </reference> </default> Log In Open customer.xml file and find the below mentioned code. <reference name="top.links"> <action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>100</position></action> </reference> Log Out Open customer.xml file and find the below mentioned code. <reference name="top.links"> <action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>100</position></action> </reference> My Whishlist Open customer.xml file and find the below mentioned code. <reference name="top.links"> <block type="wishlist/links" name="wishlist_link"/> <action method="addLinkBlock"><blockName>wishlist_link</blockName></action> </reference> My Cart and Checkout Open checkout.xml file and find the below mentioned code. <reference name="top.links"> <block type="checkout/links" name="checkout_cart_link"> <action method="addCartLink"></action> <action method="addCheckoutLink"></action> </block>...
Configure xDebug debug with Netbean and WAMP

Configure xDebug debug with Netbean and WAMP

Step 1 : Download xdebug extension file from http://xdebug.org/ To download you compatible xdebug extension copy phpinf() and past in the textarea of the below mention URL http://xdebug.org/wizard.php And then click on analyse my phpinfo() output. After that you will see the download option exact dll file. Step 2 : After downloading the dll, copy the dll file in the Drive Path\wamp\bin\php\php5.4.3\ext Step 3 : Make the below mention changes in the php.ini file. zend_extension = “d:/wamp/bin/php/php5.4.3/zend_ext/php_xdebug-2.2.0-5.4-vc9-x86_64.dll” [xdebug] xdebug.remote_enable = on xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.profiler_enable = off xdebug.profiler_enable_trigger = off xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir = “d:/wamp/tmp” Step 4 : Restart the WAMP server. Your xdebug is ready for use with netbean....
Invalid backend model specified: catalog/attribute_backend_customergroupsprice

Invalid backend model specified: catalog/attribute_backend_customergroupsprice

Note : Replace the name of the attribute. Like i am getting error “Invalid backend model specified: catalog/attribute_backend_customergroupsprice” so the attribute name is customergroupsprice so i have used “customergroupsprice”. SELECT * FROM `eav_attribute` WHERE ( `attribute_id` LIKE '%customergroupsprice%' OR `entity_type_id` LIKE '%customergroupsprice%' OR `attribute_code` LIKE '%customergroupsprice%' OR `attribute_model` LIKE '%customergroupsprice%' OR `backend_model` LIKE '%customergroupsprice%' OR `backend_type` LIKE '%customergroupsprice%' OR `backend_table` LIKE '%customergroupsprice%' OR `frontend_model` LIKE '%customergroupsprice%' OR `frontend_input` LIKE '%customergroupsprice%' OR `frontend_label` LIKE '%customergroupsprice%' OR `frontend_class` LIKE '%customergroupsprice%' OR `source_model` LIKE '%customergroupsprice%' OR `is_required` LIKE '%customergroupsprice%' OR `is_user_defined` LIKE '%customergroupsprice%' OR `default_value` LIKE '%customergroupsprice%' OR `is_unique` LIKE '%customergroupsprice%' OR `note` LIKE '%customergroupsprice%'...
Installing mongodb in windows environment

Installing mongodb in windows environment

Step 1 : Download mongodb from mongodb website and extract files on your prefer location Example : d:\mongodb\ Step 2 : In extracted file there is a directory bin it contain more than 10 excutable files. Example : d:\mongodb\bin Step 3 : Create a config file from notepad and save it in d:\mongodb\mongo.config and config file contain. store data here dbpath=D:\mongodb\data all output go here logpath=D:\mongodb\log\mongo.log log read and write operations diaglog=3 Step 4 : Now run the mongodb server from cmd by using “mongod.exe –config d:\mongodb\mongo.config” Example : d:\mongodb\bin>mongod –config D:\mongodb\mongo.config Step 5: Connect mongodb Example : d:\mongodb\bin>mongo Step 6 : Now install windows service so every time mongodbstart automatically Example : D:\mongodb\bin> mongod –config D:\mongodb\mongo.config –install Note : Change the drive volume according to your installation, I have used D: in all example its showing d:\mongodb\ like that if you installed mongodb in other drive like c: than d is must replace with c and so...