Google reCAPTCHA verification failed, please try again later.

category:  Web development, WordPress

When you add the contact form or any forms on your website and web application, it is a good idea to add Google reCaptcha for protecting your website and web application from fraud and abuse. However, if your website uses the cache plugin, you may see “Google reCAPTCHA verification failed, please try again later.” error while you are trying to submit the form. Why? Check where the error comes from You can follow the steps below for identify the issue. … Read More

Your package name is invalid – Composer 2.0

category:  Yii2.0 framework

I have a Yii2 project and I have been using this yii2 project since 2015. The installed version was 2.0.6. Today Yii2 releases a new version which is Yii 2.0.37. I will share with you how to upgrade Yii2 via composer. Install composer First, you need a composer in your computer. If you don’t have the composer in your computer yet, you can install the composer from this link. Update Yii2 by composer Once the composer is ready, you can … Read More

How to Add Videos to WordPress

category:  WordPress

Recently I help my client to add some videos in WordPress. If you host the video on Youtube or Vimeo, you should not have any issue for adding the videos on your pages or posts. However, if you host your video on Facebook(Facebook video) or Google drive, you may read this post. Get the embed link Let’s say, I have a video MP4 that host on Google drive and I want to add the video into my page. Below is … Read More

How to add individual column filtering in DataTable

category:  Web development

Recently I wrote several posts related to DataTable plugin. The latest one was “How to filter data in DataTable using Ajax in CodeIgniter“. This filter solution will fit to the big data. When the end user needs to view the data, they just filter only the data they needs to view. In this post, we will fetch all data and render them on the page. We will add the individual column filtering in the DataTable. In this example, we will … Read More

SendAsDenied error when sends an email using Office365

category:  Web development, WordPress

Recently I work with one of my client WordPress websites that uses the Microsoft Office365 as mail sending. I already configured the mail sending in WordPress. Everything seems correct. However, I check the PHP error log and I found the error message says: Cause The Microsoft Office365 SMTP server is rejecting the set “From” address. Solution The email account that you set in the mail configuration, must present in “From” field of the outgoing emails. For example, you use your … Read More

How to filter data in DataTable using Ajax in CodeIgniter

category:  CodeIgniter, Web development

When you create a web application for managing your data such as accounting, stock, and sale orders. You will need the reports which come with the filters that allow you to view only the data you need. This post will show you how to create a filter form and filter the data in Datatable in CodeIgniter. You can apply this method to other PHP frameworks. It will work the same way. If you want to learn how to integrate the … Read More

How to delete data from Datatable plugin using Bootstrap modal in CodeIgniter

category:  CodeIgniter, Web development

Recently, I wrote two posts about adding and editing the data in the Bootstrap modal in CodeIgniter. Today I will share how to delete the data using Bootstrap modal in CodeIgniter. Let’s do it. Add new delete control in DataTable Assume you already integrate the DataTable plugin to your template. If not, you can follow this post for integrating the DataTable plugin to your template in CodeIgniter. Open your footer template and add the JavaScript code below. This script must … Read More

How to edit data from Datatable plugin using Bootstrap modal in CodeIgniter

category:  CodeIgniter, Web development

In the last post, I wrote, “How to add data from Datatable plugin using Bootstrap modal in CodeIgniter” I show only adding new data. In this post, I will share how to edit data via Bootstrap modal. Let’s go. Add a new column for the controller in the view page In the template, we add the new column in the table tag. This table will use for the DataTable plugin. Add the edit control in the footer template Open your … Read More

How to add data from Datatable plugin using Bootstrap modal in CodeIgniter

category:  CodeIgniter, Web development

Datatable plugin is one of the popular JavaScript plugins. It displays the data in the table style. It comes with pagination, instant search, and column sorting out of the box. However, in the user’s view, they want to be able to add, edit, or delete the data from the Datatable without leaving the current page. We can do that by using Ajax and the Bootstrap modal. In this post, I will share with you how to add data from Datatable … Read More

How To Use DataTables In Codeigniter

category:  CodeIgniter, Web development

When you work on a web application or the back-end of your website, you often create reports for the users. The reports will display in the table style. Also, you will have the requirements from the users to add the pagination, search, ability to select the number of records per page, and export data as Excel, CSV, and PDF file. Those features can be done with Datatable plugin. What is Datatable plugin Datatable plugin is an advanced interactive control JavaScript … Read More

1 2 3 4 5 13