WebOmnizz

Jogesh Sharma is a web developer and blogger who loves all the things design and the technology, He love all the things having to do with PHP, WordPress, Joomla, Magento, Durpal, Codeigniter, jQuery, HTML5 etc. He is the author of this blog.

Laravel 5.5 Pagination for Bootstrap 4

There are multiple ways to replace Laravel’s default pagination with Bootstrap 4 Pagination. To get the laravel default pagination template you have to run the php artisan vendor:publish command in your terminal and this command will auto generates all the pagination templates including bootstrap 4 pagination template. If you check the resources/views then you find there is a folder with name vendor that holds another pagination directory with 4 files:

  • bootstrap-4.blade.php
  • default.blade.php
  • simple-bootstrap-4.blade.php
  • simple-default.blade.php

Implementing Swift Mailer with Codeigniter

As we know that Composer is a tool for dependency management and we are going to use it to implement Swift Mailer. According to the Codeigniter Documentation, We can use Composer by settings $config['composer_autoload']; in your application/config/config.php. Now use terminal and locate your projects application directory by simple CD (Change Directory) command. Now make sure you have installed Composer, You can check the installation by typing the following command composer --v and if Composer installed into your machine it will tell you about the current version of the Composer.

Click and Hold event listener with JQuery

I have did some experiment with click event. I need to hold the click for a specific amount of time and when user release the mouse that time my defined event will trigger with it. And i have achieved that and now want to share it with you. I have also implemented the touchstart and touchend event into it and tested in chrome and its working perfect. So this is simple demo for click and hold event listener.