Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
2k views

Magento 2 - How to allow certain html elements in system.xml config field?

I try to add this HTML (<span style='color:red'>*</span>)to the content of a field with type text. But the html is getting stripped. How can I allow all secure html elements but disallow ...
Black's user avatar
  • 3,431
0 votes
1 answer
2k views

Magento 2.3: system.xml and config.xml: Default values not showing up in the admin

I'm developing a module for Magento 2.3 and can't get default config values to show up in the admin. To the best of my knowledge, I've followed all the documentation I can find. It's kind of driving ...
Crankycyclops's user avatar
1 vote
2 answers
77 views

helper_data.php not found in custom module

I have created a new module. But it is showing error on log file like following: 2016-09-23T06:03:35+00:00 ERR (3): Warning: include(/home/andropls/magento/includes/src/...
Subhajyoti De's user avatar
35 votes
2 answers
42k views

Magento 2: Default Values for `system.xml` Configuration

In Magento 1, it was possible to Configuration a user interface for the System Configuration section in etc/system.xml files Set default values for those fields in the etc/config.xml files Behind ...
Alana Storm's user avatar
  • 44.4k
10 votes
3 answers
4k views

How do I add Image field to my custom dynamic fields in system config?

I want to allow admin user to generate as much fields as he/she wants. I found a solution in another extension and I used it as my starting point. So I have a code like this: In system.xml: <...
Pedram Behroozi's user avatar
4 votes
2 answers
300 views

Mandatory Helper class for module admin panel settings

Why its mandatory to define a helper class for adding configuration to the admin panel ? i.e: I want to add some admin panel configuration to my module, So that when a user installed my module he/she ...
Michel Gokan Khan's user avatar