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 29070

Questions about developing custom modules

2 votes
1 answer
2k views

How to create ui-component and get it in custom block?

Company/Module/Block/Adminhtml/Edit/Custom has template Company_Module::html/custom.phtml. custom.phtml code: <div class="sample"> .......... …
2 votes
Accepted

Magento2 - Add custom javascript to 'My Account' page

push your js file in your current theme like: app/code/design/frontend/{theme_theme}/Customer/web/js/your_custom.js 2: You can create new module and push you code like app/code/namespace/module_name …
xanka's user avatar
  • 2,114
2 votes
0 answers
473 views

How to build a custom image gallery in an admin form in magento2? [closed]

I'm in the process of building a custom module to best implement the image management portion.What I want is this: …
0 votes
4 answers
1k views

can't call controller in magento2 2.0.0-rc?

i have custom module. … i can't call controller in view of my module. this url call http://localhost/magento2-2.0.0-rc/index.php/namespace/modulename/product/view/custom/ Code file Custom.php in Namespace/Modulename/Controller …
2 votes
1 answer
60 views

How to auto get Module A when install Module B in magento2?

I want that when Module Demo gets installed, module Base is automatically fetched from Github and installed. I think it is related to composer. … Edited i trying to put code file composer.json of module A { "name": "namespace/modulea", "description": "N/a", "require": { "php": "~5.6.0|7.0.2|~7.0.6", "magento/module-store …
1 vote
1 answer
1k views

how do add new font in magento2 with custom module in frontend?

in magento2 we add new font in .xml file .I have idead create module manager fonts in admin magento2. so how to get all font name in core, and set new font in front-end? …
0 votes
1 answer
1k views

how to use tinymce to admin custom module in magento2?

I have custom module with custom-template.phtml. i custom-template.phtml i want use tinymce for tags texarea. i tried code. …
0 votes
1 answer
323 views

If custom module not active it not render default magento block - Magento 2

I have module overwrite Magento/Theme/Block/Html/Topmenu. i want check if My module is active render myBlock and customTopmenu.phtml else render default. This code in myBlock file. … When My Module not checked template is vendor/magento/module-theme/view/frontend/templates/html/topmenu.phtml and Block is Custom\Module\Block\Html\Topmenu. …
1 vote
0 answers
19 views

How change folder when get code Module in github via composer in magento2?

I have create a module in github. When i run composer require namespace/modulename dev-develop in root magento2 folder. It get source to vendor/namespace/modulename folder. … this code in composer.json of this module. …
1 vote
2 answers
2k views

how do override Html template magento2?

I create new Block Xyaddons\Productzoom\Block\Product\View\Gallery override Block \Magento\Catalog\Block\Product\View\Gallery. I want set template image.phtml in Xyaddons_Productzoom::product/image.ph …
1 vote
2 answers
1k views

Overriding Block issues?

I want override Block Magento\Catalog\Block\Product\View\Gallery this is code in file di.xml Edited <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam …
3 votes
1 answer
5k views

Add new field in configuration Magento2

I try create custom module config in magento2. This code add field productzoom Source file: Xyaddons\Productzoom\etc\adminhtml\system.xml. …
1 vote
2 answers
201 views

magento2 rc error?

i have custom module it not wordpress magento2-rc2. it get error Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory. … "> <sequence> <module name="Magento_Backend"/> </sequence> </module> </config> this file registration.php <? …
0 votes
1 answer
65 views

don't set value to field of \Magento\Framework\Data\Form

i try set value to custom file $fieldset->addField('custom_id', 'hidden', ['name' => 'custom_id', 'value' => '112' ]); in frontend input it not value. what wrong?
0 votes
2 answers
93 views

How do create DB collection in view?

I'm trying code <?php $models = $this->getModel(); ?> ("getModel() is model slideshowdata") <?php if($models -> count() > 0 ): ?> <?php foreach($models as $model): ?> …

15 30 50 per page