Categories
CMS Drupal Mastering Development

In Business Rules, How to create a loop with counter?

I am using a rule to create a record in a table. I want to create more than one record, and want to have a loop that runs dependent on a value provided in a webform Qty field. I can see Loops for views and others, but I don’t understand how to create a loop […]

Categories
CMS Mastering Development Wordpress

Admin users not able to see network menus

I am new to wordpress, and I am an admin in my site. But I can’t see the network menu, SuperAdmins can. Any idea why? I am using the user role editor plugin to manage roles. But I haven;t changed any permission for Administrator roles.

Categories
CMS Mastering Development Wordpress

best way to upload a large file to wordpress using wp all import

i am trying to import a csv file that has 50,000 entries to woo commerce. i am using wp all import plugin. now i know there are certain criteria that can be met to speed up the process however having done some further research into this i can see that because of images it can […]

Categories
CMS Joomla Mastering Development

Unable to change ‘Joomla Update’ options for upgrading Joomla 2.5 to 3.x

I am trying to upgrade Joomla 2.5.28 to Joomla 3.x using the steps described here: https://docs.joomla.org/Joomla_2.5_to_3.x_Step_by_Step_Migration I backed up the original website using Akeeba and resotred it into a sub-domain. All steps up till 6 seem to go through. Step 6 asks for changing the ‘Update Server’ under ‘Options’. I am unable to do so. […]

Categories
CMS Magento Mastering Development

Magento 2 module with custom table and plugin for quote event

I need to create a custom module that will have a table to count the number of times a customer updates the quote. So the table should have a quote ID and a count column, and the plugin should be able to set and get the count. I’m struggling a bit with the resource model. […]

Categories
CMS Magento Mastering Development

Magento 2 dynamic rows add row not working

I’m trying to add dynamic rows in the product edit page. I have successfully added a dynamic row UI component; the problem is the ‘Add’ button is not working after one row is inserted. Thanks! this is my product_form.xml <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> <fieldset name="gestione_lotti_attribute_fieldset"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="label" xsi:type="string" translate="true">Lotti</item> <item […]

Categories
CMS Mastering Development Wordpress

Searching Products While Adding Order in WordPress Woocommerce Admin Panel

When adding products on the order adding page, only SKU and Barcode allow, I want to search in MetaData that I added later. Can you help me?

Categories
CMS Mastering Development Wordpress

3rd party JavasScript to render content on page

I am using a 3rd party service to render a booking calendar on one of my pages. They don’t have an implementation specific for WordPress. They just provide a couple lines of code and say to put them in the location on your page where the calendar should be rendered. The code looks something like: […]

Categories
CMS Drupal Mastering Development

Split custom form into multiple smaller functions

I’ve a large custom form. As per the coding standards the function should not be more than 150 lines. So I tried to split the form into multiple (2) functions. But that didn’t work. Here is what I tried public function buildForm(array $form, FormStateInterface $form_state) { $form[‘some_element’] = [ ‘#type’ => ‘textfield’, ]; .. .. […]

Categories
CMS Magento Mastering Development

Magento 2 API Drop ship permissions

As a vendor, I am preparing to potentially link my store to offer dropship to another website (they take orders, I do fulfilment and processing on Magento 2), and create an API for this via Magento 2 (System > Extension > Integrations). The dropship site is using jetti.io for API purposes. I will be creating […]