Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 31184

This tag is used for questions that involve PHP code in any way. So as soon there is a PHP Exception returned or error report generated, this question qualifies to be tagged with PHP.

0
votes
Follow bellow steps Step : 1 Fist create categories.php file on the magento root folder Step : 2 After add bellow code in file categories.php. <?php require_once('app/Mage.php'); ini_set …
answered Dec 28 '15 by Abdul
0
votes
Flow below steps: Login to your site admin Change the "Current Configuration Scope" (present on top of left sidebar) to "Main Website" Go to System -> Configuration -> Shipping Methods Click "Table …
answered Oct 27 '17 by Abdul
0
votes
Try this: echo '<pre>'; $twoDimensionalArray = array(array('wishlist_id' => 35),array('wishlist_id' => 40),array('wishlist_id' => 50)); $oneDimensionalArray = array_map('current', $twoDimensionalArra …
answered Jan 4 '16 by Abdul
0
votes
Try this: <?php echo Mage::getModel('catalog/url')->generatePath('target', $_product);?> …
answered Nov 25 '15 by Abdul
3
votes
try below code <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference …
answered Nov 24 '17 by Abdul
0
votes
= $this->getRequest()->getParam('order_id',false); $order = Mage::getModel('sales/order')->load($orderId); } The Observer <?php class Mine_Sitreatmodule_Model_Adminhtml_Observer …
answered Nov 21 '15 by Abdul
0
votes
Add bellow code in your block file. for example app/code/AR/CustomModule/Block/CustomBlock.php <?php namespace AR\CustomModule\Block; class CustomBlock extends \Magento\Framework\View\Element …
answered Sep 29 '16 by Abdul
0
votes
Try this: First Way: <?php define('MAGENTO', realpath(dirname(__FILE__))); require_once MAGENTO . '/app/Mage.php'; Mage::app(); umask(0); Mage::app('default'); Mage::getSingleton('core … ); exit; } ?> Second Way: <?php define('MAGENTO', realpath(dirname(__FILE__))); require_once MAGENTO . '/app/Mage.php'; Mage::app(); umask(0); $store_id = 1; Mage::app()->setCurrentStore …
answered Jan 8 '16 by Abdul
1
vote
\local\Modulename\PrintPdf\Sales\OrderManagerController.php) <?php require('Fooman/OrderManager/controllers/Sales/OrderManagerController.php'); class Modulename_PrintPdf_Sales_OrderManagerController …
answered Dec 10 '15 by Abdul
2
votes
Try bellow code in observer public function adminUserCountrySave($observer) { $user = $observer->getUser(); $currentUserCountry = Mage::app()->getRequest()->getParam('user_countr …
answered Jan 23 '16 by Abdul
0
votes
Try this : <?php $i=$DeliverBy; echo date("d.M.Y",mktime(0,0,0,date('m'),date('d')+$i,date('Y')));?> …
answered Nov 26 '15 by Abdul
3
votes
Try this: $customer = Mage::getSingleton('customer/session')->getCustomer(); echo $customer->getFileUploadCode(); OR $customer = Mage::getSingleton('customer/session')->getCustomer(); $customerDat …
answered Jan 19 '16 by Abdul
-1
votes
Try this <?php $widgetId =1;?> <?php $widget = Mage::getModel('widget/widget_instance')->load($widgetId)); ?> <?php echo $widget->getTitle()); ?> …
answered Dec 23 '15 by Abdul
0
votes
Add bellow code in your upload action in controller file if ($data = $this->getRequest()->getPost()) { if(isset($_FILES['file_path']['name']) && $_FILES['file_path']['name'] != '') { try …
answered Nov 26 '15 by Abdul
1
vote
Try this: <?php require_once('app/Mage.php'); Mage::app('admin'); class AR { public function index() { Mage::getSingleton('core/session', array('name'=>'adminhtml …
answered Jan 29 '16 by Abdul

15 30 50 per page