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 […]
Since you work with content management systems, you might have encountered with image/file upload several times. This is a very essential feature as you want to upload user avatars, product images, etc. Today’s tutorial we illustrate how to upload an image in Codeigniter with the support of examples. To demonstrate this upload function, we will […]
Installs LAMP with PHP 5.6 on Ubuntu 16.04
Since we work in Linux Operating system, often we need to see how many files inside a folder. Following is the command to count the files in a directory. find DIR_NAME -type f | wc -l More Details -type f to include only files. | (and not ¦) redirects find command’s standard output to wc command’s standard input. wc (short for word count) […]
Today’s post shows how to use the mPDF– pdf generation library- in Codeigniter. Since we use PDF docs in all walks of life, it is necessary to generate in all kinds of web apps. So we selected integrating mPDF to Codeigniter as today’s topic and will go through step by step.
Description: A simple, beautiful and powerful date picker is vanilla js calendar for those who tired of using jQuery Calendar.
Shortcodes are very useful when a content writer writes the content in the WordPress blog. It saves a lot of time by adding a shortcode instead of repeatedly typing the same chunk of data. We can use this shortcode to replace our WordPress site’s URL. As a result, the site URL automatically changes when we […]
Description: A simple responsive pure HTML, CSS and JS Calendar will work without jQuery.
Ultimo – Fluid Responsive Magento Theme Demo Download/More Info Porto | Ultimate Responsive Magento Theme Demo Download/More Info Shopper – Magento Theme, Responsive & Retina Ready Demo Download/More Info Fortis – Responsive Magento Theme Demo Download/More Info Fastest Demo Download/More Info Market – Premium Responsive Magento 2 Demo Download/More Info Claue Demo Download/More Info Black&White Demo Download/More Info Everything | Multipurpose Responsive Magento […]
Hundreds and thousands of free Magento 2 extensions are available in the E-commerce market. Moreover, you can not distinguish which is the best free extension for your website. The main advantages of free extension that you know are free to use and easy to find on Github. You may wonder the difference between the free […]
What is Inbound Marketing in SEO? If you want to sustain in the online market, you need to have an online presence. This can only work out if you know the right marketing and SEO techniques. Since it incorporates a lot of hard work and analytics, most companies prefer hiring experts for their SEO and […]
Fail2ban is an intrusion detection system, which protects your ubuntu server against vulnerabilities. What fail2ban does is it blocks the IP addresses that try to do brute force attack and it saves the attacking IP to an IP table for future reference. Here is how we install and configure fail2ban The issue below commands before […]
This tutorial will show how to assign or remove a category from a product in Magento 1. I have used the standalone script, but you can use this in any module. Assign a category to product $productId = 2000; $categoryId = 200; Mage::getSingleton(‘catalog/category_api’)->assignProduct($categoryId,$productId); Remove a category to product $productId = 2000; $categoryId = 200; […]
This tutorial illustrates, how to add a user to the apache group called www-data on Ubuntu Linux. Add a new user to the www-data group Below command will create a new user and automatically add to the www-data group sudo useradd -g www-data tutsuser sudo sudo passwd tutsuser Verify the setting id tutsuser Add an […]
This tutorial will guide you through the steps to create a custom customer attribute in Magento 1. My use case was to save a mobile application token against the user for further authentication.
Everyone must have used Grammarly one time or another. It’s been there for a while correcting your grammar and spelling mistakes, while you writing on Microsoft Word or Microsoft Outlook. Here we are talking about how to remove this extension from Microsoft Office. You can uninstall Grammarly for Microsoft by going to the Control Panel. […]
This tutorial demonstrates how to insert a record into MySQL database using NodeJs. This step by step guide includes init of node js, importing MySQL module and finally insert two records to the database. Open the console and create a folder called db_basic. And run the following command in the console. npm init This will […]
Below script helps you to remove existing images from the media gallery and add a new one at the same time to avoid duplicates in Magento 1. The following script will be very helpful while importing images bulk to Magento website.
Setup Project Update the .env file with your desired database details. Run the following command to create the scaffold for authentication pages. Next, we want to add our new field, username to our database migration structure. Open this file database/migrations/create_users_table.php. Add the username field in the up() function after the name field. So the final […]
Today is the era of privacy and security! Back in 2018, the browser giant Google Chrome started marking non-HTTPS pages that collect data such as registration, login, and contact us forms, etc. as “not secure” and when the visitor stats typing, the text will become red as a warning to visitors that the connection between […]