Category: Web Development
Jquery Datatable Callbacks
Jquery data table callbacks are used when you want to perform some action on a certain event in the data table. For eg. when you want to modify a particular row or cell every time the table is redrawn. List
Adding a custom widget in wordpress wp-admin dashboard
How to add a custom widget in wordpress wp-admin dashboard? In following screenshot those boxes in red need to show custom widgets. How to accomplish it: For adding the custom widget in wordpress admin you have to add this code
Cross Domain XMLHttpRequest problem and some solutions
Cross-domain request: Cross-domain request is requesting the content from another host. When we request to a third party site to get content that is called cross-domain request. By default XMLHttpRequest (XHR) request allows transferring data only if both parties have the
Schedule CSV Import from Google Drive to ZOHO reports
Zoho reports have the feature to import data into a table from cloud storage like Google Drive. We can also schedule the import at a specific interval. Here in the example below, we are importing the data from Google Drive.
Send email using html template in Laravel
Laravel provides us a facility to send email with custom html template. In order to achieve it, kindly follow the steps below: 1. Open your mail.php file from config folder and add these details: 2. After that open your gmail
Adding Image Upload feature in GrapesJS editor
In GrapesJS, there is an ‘image’ block which we can drag and drop on the canvas but it only allows us to specify URL of the image to add to Asset Manager. Then we can embed that image in the
Preserving checkbox state in Jquery datatable with pagination
Problem:Let us assume you have many records in Jquery data table with multiple pages. You have rows with checkboxes. Now, If you want to select checkboxes from different pages of the data table and submit the page it will only
Skip a default page in Moodle without altering core code
How to skip any page in moodle without altering core code of moodle? In Moodle we were having a requirement where we want to skip some default moodle pages. It is very easy if we make changes in core code.
AWS S3 | How to get the count of files in a folder in AWS S3
There was a task in which we were required to get each folder name with count of files it contains from an AWS S3 bucket. If we used the general approach to start a counter and increment that in a