Someone gave me a ppt-presentation in which there are several master slides combined (title slides aside). I would like to uniformize these, since half of the presentation has one older logo and the other half the correct one. Also the first half has colors that slightly differ from the official […]
Monthly Archives: January 2025
OS: Ubuntu 24.04.1 LTS Display Resolution: 2240 x 1400 Display Scaling: 150% Qt Version: 6.4.2 Platform: xcb Albert version: 0.26.11 The app icons get too big when I increase the display scaling to 150%. It works fine for 100%. What can I do? I can’t use a lower display scale […]
I have created a customer custom attribute with the above code: namespace VendorCustomerSetup; use MagentoCustomerSetupCustomerSetupFactory; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoEavModelEntityAttributeSetFactory as AttributeSetFactory; class InstallData implements InstallDataInterface { /** * Customer setup factory * * @var CustomerSetupFactory */ private $customerSetupFactory; /** * @var AttributeSetFactory */ private $attributeSetFactory; private […]
Hi I am getting the Deprecated Functionality: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in From upgrading to php version 8, the module doesnt have an updated version I can use so I need to fix the following code: if ($blockdir == ‘ltr’ && strpos($lastfontreqstyle, […]
I want to load html of a particular block and save it in cms/block programmatically by using a CLI command. MagentoFrameworkViewResultPageFactory returns an empty string when calling toHtml() on it. I have also tried MagentoFrameworkViewLayoutFactory but result is same. What is the right way of loading a block inside cli […]
Is it possible to show thumbnails on mobile/responsive view instead of dots on the product detail page with Fotorama on Luma? If so, how?
I am trying to update the “customer_entity” table “custom_column” value upon customer confirmation. For that I used a plugin as follow. This is my di.xml content for this pluging <type name="MagentoCustomerModelAccountManagement"> <plugin name="customCustomerEntityColumn" type="VendorModulePluginModelAccountManagementPlugin"></plugin> </type> And this is my Plugin class and method : <?php namespace VendorModulePluginModel; use MagentoCustomerApiCustomerRepositoryInterface; class […]
I am constantly using the conditional formatting on Excel to highlight every other row in a spreadsheet by using the following formula: =MOD(ROW(),2)=0 No matter how many times I use it, I cannot memorize it, and I have to look it up. Is there a way to add this conditional […]
I am trying to encrypt my E drive using BitLocker with the password prompt appearing during boot, not after logging into Windows. The reason for this is that I need to run a script at machine boot which depends on the data stored on the E drive. And I do […]