Categories
Ask Chemistry

pKa values of substituted benzoic acids

Why is o-Aminobenzoic acid weaker than its meta and para isomers whereas for all other groups that substitute benzoic acid, the ortho isomer is the strongest acid among ortho, meta, para and benzoic acid?

Categories
Ask Chemistry

pKa values of substituted benzoic acids

Why is o-Aminobenzoic acid weaker than its meta and para isomers whereas for all other groups that substitute benzoic acid, the ortho isomer is the strongest acid among ortho, meta, para and benzoic acid?

Categories
CMS Magento Mastering Development

magento 2. DataProvider connection core_config_data

I want the values ​​from the input to be saved in the core_config_data database, nothing happens. Even in this test version. namespace Aserty\TopText\Model\Settings; use Magento\Framework\Api\Filter; use Magento\Framework\App\RequestInterface; use Magento\Ui\DataProvider\AbstractDataProvider; class DataProvider extends AbstractDataProvider { protected $loadedData; /** * @var RequestInterface */ private $request; /** * DummyDataProvider constructor. * @param string $name * @param string $primaryFieldName […]

Categories
CMS Magento Mastering Development

How to pass id from ui_component to model?

I have a form, see image below. I have the following data in the database, see image below I originally wanted to have the structure like below in the custom table > id | meta_key | meta_value > ——————————- > 1 | first_name | Absolute > —————————— > 2 | last_name | Idiot But I […]

Categories
CMS Magento Mastering Development

How to pass id from ui_component to model?

I have a form, see image below. I have the following data in database, see image below I originally wanted to have the structure like below in custom table > id | meta_key | meta_value > ——————————- > 1 | first_name | Absolute > —————————— > 2 | last_name | Idiot But i don’t know […]

Categories
CMS Magento Mastering Development

How to create set default id in ui_components form?

How to configure the default primary id to a particular value such that when i access the form page, it automatically loads the data from the Data provider ? public function __construct( $name, $primaryFieldName, $requestFieldName, CollectionFactory $expCollectionFactory, array $meta = [], array $data = [] ) { $this->collection = $expCollectionFactory->create(); parent::__construct($name, $primaryFieldName, $requestFieldName, $meta, $data); […]

Categories
Mastering Development

Use of if (typeof(obj._source.url) !== ‘undefined’) expresion in jsontohtml

I am consulting two different json data sources, job1 and job2, with the same code that runs with jsontohtml. Each source has different labels, although with similar name, some have different name beetween them or different json structure. I want to detect when a label is defined to show it in html, while if is […]

Categories
CMS Magento Mastering Development

Magento 2 join 2 custom tables in custom module

First my thanks for reading my question. I learning to program in M2 so forgive me potential strange questions. So far I managed to create a custom module and an edit page. My main database table is names dsssolutions_management_vendor. My form loads this as expected, but now I want to load additional tables to also […]

Categories
CMS Magento Mastering Development

Magento 2 join 2 custom tables in custom module

First my thanks for reading my question. I learning to program in M2 so forgive me potential strange questions. So far I managed to create a custom module and an edit page. My main database table is names dsssolutions_management_vendor. My form loads this as expected, but now I want to load additional tables to also […]

Categories
CMS Mastering Development Wordpress

How to make this WP_Query run faster on a WordPress website?

This code is part of a custom WordPress homepage that shows the 7 most recent posts using WP_Query, and the first post has a custom html structurer, while the rest has another html structure. Then there is a second WP_Query that queries the 5 most recent posts for a specific tag while not showing any […]