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 answers only not deleted user 13596

Issues relating to the developer beta release of Magento 2.0.0. This formally is the the period from Dec 18th 2014 to around the end of Q1 2015.

1 vote

How do create Setup/InstallSchema.php in magento2?

To upgrade module we need to create UpgradeSchema.php in Setup folder 1. change the Version in module.xml that is setup_version="2.0.0" to setup_version="2.0.1" 2. in Setup folder create file cal …
Pradeep Kumar's user avatar
0 votes
Accepted

How to add new column to core module of admin grid in Magento2

to add custom filed to core admin grid in UI Component then we need to follow below steps but addColumnAfter is not working correct me where i made mistakes . 1. create a xml file in app\code\Sugarc …
Pradeep Kumar's user avatar
2 votes

Ajax loader image is not displaying in ajax call in Magento2

i got i missed one param in ajax call that is showLoader:true, that is <script type="text/javascript"> require([ 'jquery', 'mage/template', …
Pradeep Kumar's user avatar
9 votes
Accepted

How To Add Country And State Dropdown In Admin Side in Magento2

in admin form block in _prepareForm() add country and region that is in __construct() add country config source protected $_countryFactory; /** * @param \Magento\Backend\Block\Template …
Pradeep Kumar's user avatar
0 votes

How to add new column to core module of admin grid in Magento2

to set position you can use <item name="sortOrder" xsi:type="number">75</item> that is <column name="title"> <argument name="data" xsi:type="array"> <item name="con …
Pradeep Kumar's user avatar
1 vote

How to get Custom Model in a block that extends Block \Magento\Catalog\Block\Product\View?

use plugin concept to extend How to Override Core Block, Model and controller in Magento2 or if toy need collection in your custom block then use <?php namespace Sugarcode\Test\Block; class Tes …
Pradeep Kumar's user avatar
6 votes
Accepted

How to enable Full Text search in admin grid of magento2

TO make full text search or keyword search of admin grid you need to make or add index of the table $connection->addIndex( 'testtable', // table name 'title', // index name [ …
Pradeep Kumar's user avatar
0 votes

How do create DB collection in view?

In Block it will be <?php namespace Sugarcode\Test\Block; class Test extends \Magento\Framework\View\Element\Template { protected $_coreRegistry = null; protected $_testmodel; public f …
Pradeep Kumar's user avatar
2 votes
Accepted

Magento 2: How to add grid to the tab in customer_index_edit

Please follow below steps admin layout xml app\code\Sugarcode\Test\view\adminhtml\layout\test_lists_edit.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout= …
Pradeep Kumar's user avatar
1 vote

Magento 2: How to add grid to the tab in customer_index_edit

last Answer show how to add edit form and in this i am showing how to add new tab with grid selections you need to follow last answer after that you need to edit below file for adding grid to new ta …
Pradeep Kumar's user avatar
1 vote

magento2 rc error?

i am also facing same issue { "name": "sugarcode/module-test", "description": "N/A", "require": { "php": "~5.5.0|~5.6.0|~7.0.0", "magento/module-config": "100.0.*", …
Pradeep Kumar's user avatar
20 votes
Accepted

How to call Direct SQL Queries and join to collection In Magento2

In you block or model files you need to initialize resource then you need to call connection that is protected $_resource; and public function __construct( \Magento\Backend\Block\Template …
Pradeep Kumar's user avatar
0 votes

Overriding Block issues?

use plugin to override the block or model ex in di.xml (i took ex of block, model and controller of product ) <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi …
Pradeep Kumar's user avatar
6 votes

Magento 2: rewrite controller

dont use preference use plugin to extend any core module that is in di.xml <type name="Magento\Catalog\Controller\Product\View"> <plugin name="product-cont-test-module" type="Sugarcode\Test\Mode …
Pradeep Kumar's user avatar
4 votes

Add custom js in head in magento2?

use below code in view\frontend\layout\test_index_index.xml <head> <title>My Slideshow</title> <link src="Xanka_Slider::js/slider/jquery.themepunch.plugins.min.js"/> </head> …
Pradeep Kumar's user avatar

15 30 50 per page