Thursday, May 28, 2015

Magento get current controller name

Magento get current controller name

You can get magento controller name as below :

Mage::app()->getRequest()->getControllerName();

for more details please visit :

http://tutorialsplane.com/magento-get-current-controller-current-module-current-action-and-route-name/



Wednesday, May 27, 2015

Magento session example

Magento session example

See magento session detail @

http://tutorialsplane.com/magento-set-and-get-session-variable/

Magento get current category id

Magento get current category id


Get magento current categeory id on product listing page as below:
See Code
http://tutorialsplane.com/magento-get-current-category-id/

Bootstrap Buttons

Bootstrap Buttons
You can see demo and download coad for bootstrap buttons.

Demo :

 http://tutorialsplane.com/bootstrap-buttons/

Jquery Ui Autocomplete Demo

Codaigniter Current Url

Magento current date time

Get Current time in magento :

Get full detail about magento date and time on :

http://tutorialsplane.com/magento-get-current-date-time/

nusoap php example

nusoap php example


Install soap in php
Step 1 : Download soap library nusoap-for-php5 from the link :
http://sourceforge.net/projects/nusoap/?source=typ_redirect
Step 2 : unzip the nosoap in new folder “firstweb”.
Step 3 : Now Create two files server.php and client.php.
Step 4 : Inside the server.php Add the following code from the link below :

Download the code 

Ajax image upload in php

Ajax image upload without refreshing the page :

You can upload the image in same facebook style in php jquery and ajax.

For demo and more details please visit :


 http://tutorialsplane.com/ajax-image-upload-using-php-and-jquery-demo/



for creating image thumbnail please see demo and download : 

http://tutorialsplane.com/how-to-create-thumbnail-image-in-php-using-ajax/