Skip to content

magento man

Mailing Lists and Limitations

Trying to run a small Mailman Mailing List (40 members) on a shared hosting plan. The hosting company has a limit of 200 emails/hour, 1,000/… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1892197&goto=newpost

css file can not be read?

I am trying to deploy a magento2.4.4 cloud staging environment and getting the below error. I am not sure how to troubleshoot this. The contents from the “/app/pub/static/adminhtml/Magento/base/default/./node_modules/@spectrum-css/vars/dist/spectrum-global.css” file can’t be read

Magento 2 How to write plugin for getImageHtmlDeclaration function

This is the original path – vendor/magento/module-cms/Helper/Wysiwyg/Images.php I want to put a plugin for this function getImageHtmlDeclaration() I want to pass different HTML tag if (!$renderAsTag) { $src = $this->isUsingStaticUrlsAllowed() ? $fileUrl : $this->escaper->escapeHtml($directive); $html = sprintf(‘<img class=”hello” src=”%s” alt=””… Read More »Magento 2 How to write plugin for getImageHtmlDeclaration function

How to use plugin for MagentoCmsControllerAdminhtmlWysiwygImagesThumbnail execute() function

I want to put an around plugin. This is the core file vendor/magento/module-cms/Controller/Adminhtml/Wysiwyg/Images/Thumbnail.php The main purpose is on the execute function I want to upload a custom icon for WYSIWYG. $image = $this->_objectManager->get(MagentoFrameworkImageAdapterFactory::class)->create(); $image->open(‘media/wysiwyg/test_icon.png’); $resultRaw->setHeader(‘Content-Type’, $image->getMimeType()); $resultRaw->setContents($image->getImage());