This tutorial demonstrates how to install Magento 2.3 and build a web server on operating system Ubuntu 16.04 LTS. In this tutorial I have used Digital Ocean droplet (2GB instance), you may please create the same or you can install one in your PC. First we create a user apart from root user, as it […]
If you are trying to use getRequest() from a controller that extends Magento\Framework\App\Action\Action, you may just use $this->getRequest()->getPost(). But if you are in a custom class, you need to inject the request in the constructor.
Description: This great plugin replaces native select box elements with fully customizable dropdowns. It’s just not reshape the select box, but it equipped with the form Submit, Onchange Events and Attributes as you would with normal usage.
It is very common that you may want to list out all the files in a directory that contains several levels of sub directories. So consider the below folder structure media sample.jpg foo.txt get.php PHP has a built in function called which comes handy while handling files and directories. Best thing about this function is […]
You might be noticed that some of your friends sending nice stickers in Whatsapp as reply to your chat. Sometimes it will a picture from your favorite movie scene or some other instance. Now you also can create stickers for WhatsApp, by using a app called sticker.ly. Just search in the app store/play store for […]
Most of the projects you work in PHP or in any language, there you have to encounter with categories and sub categories. When comes to categories, tree view is the best listing method that we can use in our web apps. In this article, we are showing you how to create Laravel tree view for […]
In certain cases you want to run a MySQL query and find out how many products are there without images in Magento. Which will help your store to run smoothly. Use the below query to figure out the products without images.
The below script helps you to add single quotes to comma separated list, while using implode.
We use the below when we have an array from a direct sql used in Magento 1 project. And we want to use it in the Magento way, the collection object. By using this we will be capable of using setters and getters same like any other collection in Magento. Creating a Collection <?php $resource […]
Most of you are familiar with creating modules in Drupal 7, but things got changed in Drupal 8. Drupal 8 has massive change in code architecture and adhering latest industry standards. Already Drupal 8 become the talk of town, so today’s tutorial we are working with a simple module in Drupal 8. Module Directory Drupal […]
Magento have the ability to setup different stores. A product can be made visible in different stores and if we want load store specific details, use the below code.
PuTTY is awsome a client program for the SSH, Telnet, Rlogin, and SUPDUP network protocols. These protocols used to run remote session in your local machine which is a great step in tech industry. Coming to our topic, putty doesn’t give an option to save password as this helps to save your time by typing […]
The cart page performs the duties of a lead-maker, whereas, the checkout is the deal-binder. Both are the significant parts of a buyer’s journey. Improving them simply means streamlining the buyers’ passage towards absolute purchases. However, the tricky part is deciding how to improve these pages for higher usability and conversions. The marketers and webmasters […]
Most of the developers start the projects in their local development environment. If you are working with Magento, Drupal, WordPress etc. you may need virtual hosts to setup, in order to work the test sites properly. When you use virtual hosts each and every links looks very unique, and similar to the main website URL. […]
File upload is an essential part in any web application, so we are demonstrating a multiple file uploader in PHP and MySQL. In Our example code, we will implement the following functionalities to demonstrate the multiple images upload in PHP. Here we will not be using any framework, but just pure PHP for file upload. […]
PDF documents are often used because they help preserve the original content/format of the document, but this can make splitting the file up a little more difficult than other document formats. If you have Adobe Acrobat, you can use the built-in Split Document function to split it up.There are several solutions to achieve the splitting […]
Some websites will be very cluttered with ads, promotions and other marketing materials, scatters all over the page. Since it makes reading hard, and you forget the reason you came to a blog post. That’s why you have Mercury Reader, is a browser extension that cleans up your reading experience in Chrome. Mercury is a […]
A basic, lightweight flow chart module which uses grid system to create a minimal, responsive workflow with SVG put together association lines and and arrows on the web page.
Today’s article, we will show you how to copy a file from folder to another by using PHP. For this we use default PHP function . Basically, it has two parameters to work a copy function. This file will overwrite if the file already exists in the folder. See the below example function. <?php $file […]
Today’s article we are showing how to send WordPress emails using SMTP server. Everybody knows that emails are very essential for any application on Internet. While using WordPress as your blogging platform, you must have faced issues with email delivery. Sometimes emails are delivering and sometimes they are not. What is the solution for this?. […]
Did you ever think of reading text from image in PHP. Yes you can!. There are chances you may encounter this situation of reading the text from image in your web applications. So today’s tutorial we will demonstrate how to read the text from image in PHP. We will use the Tesseract Open Source OCR […]
Today’s tutorial, we will show you how to use CKeditor in Laravel. CKEditor is a WYSIWYG HTML editor which allows us to write rich text formats. We can have HTML elements in the textarea, but it doesn’t have formatting options. Updating this HTML in textarea needs expertise in HTML/CSS. That’s why we have CKeditor, which […]
In today’s tutorial we will see how can set and get a config value in Codeigniter. Codeignter is a very flexible framework with a lot of options to build a complete website. Basically, the Config class provides a means to retrieve configuration preferences. We don’t use Config class directly in our application as we have […]
Problem: When I download a file from internet, it always opens in the default photo viewer after download complete. This is a really annoying thing that every time we need to close the image opened automatically. To solve this you can go through the below steps.
Today’s tutorial, we are going to learn ajax infinite scroll pagination in Codeigniter. These days many websites load more data while scrolling the page and it is achieving without loading the entire page again. As you know already, conventional pagination works when user clicks on the page number listed on the bottom or top of […]
When we build custom modules in Magento 1, sometimes we need to get all the attribute options for catalog attribute. This article illustrates how to fetch attribute options using attribute code in Magento 1.
MySQL and MySQli are APIs to connect a MySQL database server in PHP. Each has it’s advantages and disadvantages. Note: By now MySQL extension is deprecated and it is not safe to use in future applications. It will be there for sometime for backward compatibility. MySQL Original extension designed to allow you to interact PHP […]
YouTube is the most popular video sharing platform in the world. It helps users to upload, view, and share videos that keeps community guidelines. Tons of people selected YouTube video making as full job, as they create and upload videos and getting revenue from YouTube Adsense( Google Adsense). But, YouTube lacks one important feature, direct […]