I have a fibre connection, and two routers because of the layout of the building. Basically I go from Fibre > ONT > Ethernet > Router #1 > Ethernet > Router #2. Both routers are WiFi access points. My problem is that WiFi device connectivity on Router#2 is erratic and […]
Yearly Archives: 2023
I’m trying to concatenate a variety of videos into a single video. As can be seen below in the output of ffprobe for 4 example videos, they are all different in a few ways. Ideally, I’d like to normalise each to some specific size – say 1280×720 – and then […]
I have the following table, A B Patient Date Alex 1/1/2023 Cody (blank) where I want to count blank cells only if there’s text value in the associated cell in column A… Thank you so much
Learn the basics of timezone usage in PHP, and how to make the best choice of the comprehensive range of functions PHP offers. Continue reading Quick Tip: How To Manage Timezones in PHP on SitePoint.
I am trying to change the telephone input type from “text” to “tel”, so that on mobile devices a number pad will display. I have tried to implement the solution outlined https://magento.stackexchange.com/a/337363/56479, but I am not able to get it to work. Am I missing something? /app/code/Vendor/Module/etc/frontend/di.xml I’ve tried putting […]
I would like to understand how to add additional data to custom validation rule. I noticed in Magento 2 core files something like the following: validator.addRule( 'validate-customer-company', function (value, params, data) { return !(data.customer && data['is_company_user'] }, $.mage.__('Message') ... Does anyone know where data parameter comes from? In my case […]
I always thought that if I ran composer install --no-dev that test modules in the Dev directory would not be populated but after finding a payment with that processed with “fake payment method”, I found out that is not true. These test modules are found in dev/tests/integration/_files/Magento/ and are generated […]
Please help me solve the task. I use Magento 2.4.1 You need to make sure that when creating a product using duplication, its price field is cleared or empty by default. I would appreciate any help!