On the template validations. <input type=””” validation=”length=6″
Author: Arun T
How to resolve the server down
The server resources should be used fully. Set php_admin_value[memory_limit]=4100M
How to edit page using elementar in wordpress
In the page use edit using elementor, Each section can be edited using the sections options.
How to create custom template in wordpress
Go to the fiels -> Thems -> Create files inside respective theme folder.
Magezon – Image gallery setting up
Download the zip file after the purchase, and unzip on the app/code folder. After the upgrade, deploy and di-compile commands, On the Website Admin backend Albums – Allows you to create collection of images and video albums. You can easily drag and drop multiple images. Please select the grid view for a better display. Category – Enables… Continue reading Magezon – Image gallery setting up
Increase the customer session on the website
The timeout occurring at short intervals was due to security measures triggered by user inactivity. To improve the same, For frontend (customer) sessions: Go to Stores > Configuration. Navigate to General > Web. Under Default Cookie Settings, adjust: Cookie Lifetime: Enter the number of seconds for the session duration (e.g., 86400 for 24 hours). Click… Continue reading Increase the customer session on the website
How to include a new field on the Shipment API in Magento2
Create a new field on the sales shipment table using the db-schema.xml file Then add the newfield on the extension attributes file app/code/JJ/DocumentNumber/etc extension_attributes.xml <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework/Extension/etc/extension_attributes.xsd”> <extension_attributes for=”MagentoSalesApiDataShipmentCreationArgumentsInterface”> <attribute code=”document_number” type=”string”/> </extension_attributes> </config> For saving the field di.xml <config xsi:noNamespaceSchemaLocation=”urn:magento:framework/ObjectManager/etc/config.xsd”> <type name=”MagentoSalesApiShipmentRepositoryInterface”> <plugin name=”custom_shipment_repository_plugin” type=”JJDocumentNumberPluginShipmentRepositoryPlugin”/> </type> </config> ShipmentRepositoryPlugin.php <?php namespace JJDocumentNumberPlugin; use MagentoSalesApiDataShipmentExtensionFactory; use MagentoSalesApiDataShipmentInterface; use MagentoSalesApiShipmentRepositoryInterface; class ShipmentRepositoryPlugin… Continue reading How to include a new field on the Shipment API in Magento2
How to solve the RDBMS error up on steup upgrade after MYSQL upgrade
Solution:- Please be assured that we checked and though the MySQL downgrade is not feasible once the MySQL version is upgraded. However, we did this workaround. Updated the required MariaDB version in: app/etc/di.xml from <item name=”MariaDB-(10.2-10.4)” xsi:type=”string”>^10.[2-4].</item> to <item name=”MariaDB-(10.2-10.5)” xsi:type=”string”>^10.[2-5].</item> and that fixed it.
Repost a missed scheduled post using commandline in WordPress
If you have access to the server and WP-CLI: Run the following command to trigger the cron job: bash Copy code wp cron event run –due-now This will execute all missed scheduled posts.
Repost a missed scheduled post manually in WordPress
Method 1: Manually Publishing the Missed Post Log in to the WordPress Admin Panel. Go to Posts > All Posts. Find the missed scheduled post (it will be marked as “Missed Schedule” or in the Scheduled status with a past date). Quick Edit or open the post in the editor. Change the Publish date to… Continue reading Repost a missed scheduled post manually in WordPress