Skip to main content
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
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
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 not deleted user 28685

Denotes questions about controllers and action methods

0 votes

Magento 2 - Error trying Redirect to login page for controller if not logged in

try this /** * @var \Magento\Framework\App\ResponseInterface */ protected $_response; /** * @var \Magento\Store\Model\StoreManagerInterface */ protected $_storeManag …
Bojjaiah's user avatar
  • 3,782
2 votes

override checkout controller in magento 2

change <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Mag …
Bojjaiah's user avatar
  • 3,782
0 votes

Magento2 - Custom Controller throws error

Your controller CheckUserName.php file look like below MP/MyModule/Controller/Index/CheckUserName.php <?php namespace MP\MyModule\Controller\Index; class CheckUserName extends \Magento\Framework\Ap …
Bojjaiah's user avatar
  • 3,782
5 votes
Accepted

My Custom controller not executing in magento 2

change your code from trackorder_index_index.xml <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framewor …
Bojjaiah's user avatar
  • 3,782