Custom file upload in CKEditor with PHP

In CKEditor by default file browser option is not enabled.

You can only add a file to an editor with URL.

To add file browser option require to update CKEditor configuration and use options while initialization.

In this tutorial, I show how you can add file browser option in CKEditor and upload it with PHP.

Custom file upload in CKEditor with PHP

Read more

Load content on Page scroll with AngularJS and PHP

In infinite page scroll pagination data load dynamically and append at the end of existing content when the user reaches to the bottom while scrolling.

The user doesn’t have to click any button.

I am using ngInfiniteScroll directive for implementing with AngularJS.

With this directive detect page scroll and send AJAX request to get content.

Also, need to include the jQuery library for using it.

In this tutorial, I show how you can load content on page scroll using the ngInfiniteScroll directive in AngularJS.

Load content on Page scroll with AngularJS and PHP

Read more

Remove Sorting from Specific Column – DataTables

DataTables is a wide­ly-used jQuery plugin offering the­ convenience of cre­ating dynamic and responsive tables e­quipped with desirable fe­atures, such as sorting, pagination, filtering, or searching.

Among the­se indispensable functionalitie­s lies sorting: an attribute that enable­s users to arrange information according to ascending or de­scending orders, depe­nding on particular columns.

Nonetheless, some­ circumstances might arise where­ one needs to disable­ the sorting property from a specific column.

In this article, we­ will examine how you can remove­ sorting from specific columns using DataTables.

Remove Sorting from Specific Column – DataTables

Read more