blog.anandmahalakshmi.com
PHP Archives - Anand Mahalakshmi
http://blog.anandmahalakshmi.com/php
WEB DEVELOPER ( PHP, Wordpress, Joomla, Magento, Codeigniter, Cakephp). January 24, 2016. Front End Posting with WordPress. In this tutorial I am going to discuss how to insert posts via the front end of a WordPress blog. This tutorial will also cover some validation techniques, setting the post as “pending”, and email notification when a new post is created. So let’s begin! Create a PHP file: page-add-article.php. Test this page, it should show a blank white screen. April 17, 2015. November 29, 2014.
blog.anandmahalakshmi.com
Magento Codepools Archives - Anand Mahalakshmi
http://blog.anandmahalakshmi.com/tag/magento-codepools
WEB DEVELOPER ( PHP, Wordpress, Joomla, Magento, Codeigniter, Cakephp). Tag Archives: Magento Codepools. December 18, 2014. Magento has three different codepools:. This core pool folder stores all the code that makes Magento so powerful, flexible and lovely. The chief rule of Magento development is that you should never make any changes in the core pool. How does the framework interact with the various codepools? To identify the proccess let’s take a look at app/Mage.php. AppPath = implode(PS, $paths);.
blog.anandmahalakshmi.com
magento check for home page - Anand Mahalakshmi
http://blog.anandmahalakshmi.com/magento-check-home-page
WEB DEVELOPER ( PHP, Wordpress, Joomla, Magento, Codeigniter, Cakephp). November 21, 2014. Magento check for home page. Here is the tip for you to check for homepage in Magento. I had come across a situation to add a banner block conditionally on the homepage. The below code helps me to accomplish the same. Hope this will help you too. If( Mage: getSingleton('cms/page')- getIdentifier() = 'home' & Mage: app()- getFrontController()- getRequest()- getRouteName() = 'cms' ) :. Help me to give you more.
blog.anandmahalakshmi.com
How to Call Static Block from CMS Pages in Magento - Anand Mahalakshmi
http://blog.anandmahalakshmi.com/call-static-block-cms-pages-magento
WEB DEVELOPER ( PHP, Wordpress, Joomla, Magento, Codeigniter, Cakephp). November 28, 2014. How to Call Static Block from CMS Pages in Magento. I have come to many situation to call static block from CMS Pages, and i am using the below code to do this trick. You can use this code to call a static block on any of your CMS page like homepage so you just follow the steps. Go To CMS- Pages. Go To Design- Layout Update XML. Reference means the block will call on left right or Content. Help me to give you more.
blog.anandmahalakshmi.com
Magento Archives - Anand Mahalakshmi
http://blog.anandmahalakshmi.com/tag/magento
WEB DEVELOPER ( PHP, Wordpress, Joomla, Magento, Codeigniter, Cakephp). December 18, 2014. Magento has three different codepools:. This core pool folder stores all the code that makes Magento so powerful, flexible and lovely. The chief rule of Magento development is that you should never make any changes in the core pool. How does the framework interact with the various codepools? To identify the proccess let’s take a look at app/Mage.php. Paths[] = BP . DS . ‘lib’. AppPath = implode(PS, $paths);. I have...
blog.anandmahalakshmi.com
Display a menu with categories,subcategories in Magento
http://blog.anandmahalakshmi.com/display-menu-categories-sub-categories-magento
WEB DEVELOPER ( PHP, Wordpress, Joomla, Magento, Codeigniter, Cakephp). November 12, 2014. How to display a menu with categories, sub-categories in Magento. If you need to display a custom menu based on your categories, subcategories in magento, you can use the below code for the same. Php $ helper = Mage: helper('catalog/category')? Php $ categories = $ helper- getStoreCategories()? Php $currentCategory = Mage: registry('current category')? Php if (count($ categories) 0):? Php echo $ category- getName()?
blog.anandmahalakshmi.com
How to get Distance between two places using Google Map
http://blog.anandmahalakshmi.com/get-distance-two-places-using-google-maps
WEB DEVELOPER ( PHP, Wordpress, Joomla, Magento, Codeigniter, Cakephp). November 29, 2014. How to get distance between two places using Google Maps. Are you looking for getting distance between two places using google map, just use the below php code for action. Use curl to use google map api to get the distance. Here the format of address. Now just paste the code. Url = “http:/ maps.googleapis.com/maps/api/directions/json? Ch = curl init();. Curl setopt($ch, CURLOPT URL, $url);. Help me to give you more.
blog.anandmahalakshmi.com
How to redirect non WWW to WWW using web.config
http://blog.anandmahalakshmi.com/re-direct-non-www-www-using-web-config
WEB DEVELOPER ( PHP, Wordpress, Joomla, Magento, Codeigniter, Cakephp). January 6, 2015. How to re-direct non WWW to WWW using web.config. Here is the URL Rewrite Rule in the IIS web.config file that redirects non-www requests to www requests for your domain name. Make sure you replace example.com with the name of your domain. How to redirect www to nonwww with https. Help me to give you more. Subscribe & Connect. Keep up to date on the latest content, here at Anand Mahalakshmi. Subscribe below.
blog.anandmahalakshmi.com
Misc Archives - Anand Mahalakshmi
http://blog.anandmahalakshmi.com/misc
WEB DEVELOPER ( PHP, Wordpress, Joomla, Magento, Codeigniter, Cakephp). April 17, 2015. How to redirect www to nonwww with https. Im back with a tip for redirection using .htaccess redirect to nonwww with https. Hope this help someone. RewriteCond %{HTTP HOST} www .(.*)$ [NC]. RewriteRule (.*)$ http:/ %1/$1 [R=301,L]. RewriteRule (.*) https:/ %{HTTP HOST}%{REQUEST URI} [R=301,L]. January 6, 2015. How to re-direct non WWW to WWW using web.config. November 6, 2014. Install Komodo Edit 8 in Ubuntu 14.04.
SOCIAL ENGAGEMENT