Latest Post


How to create scroll to top of the page by jquery animate ?

However you want the scrolling process to have animated effect. you have to follow bellow example. in this post you can add button for scrolling top with animate effect. Most of website you can see with one button left side or right side for scrolling top of the page. so, if you want to create on your site then you have to add following jquery code: <strong class="example">Example</strong> <pre class="prettyprint lang-html lang-js"> <style type="text/css"> #toTopImg{ position: fixed; bottom: 20px; left: 20px; cursor: pointer; display: none; z-index.....

By Hardik Savani | March 26, 2016 | | 2141 Viewer | Category : PHP Javascript HTML jQuery
READ MORE

How to convert Object into Array in PHP?

Whenever you need to convert object to array in your php project then you can do that using (array). It is a pretty simple example to convert php object into array that way you can use array. So, let's see the following example. <strong class="example">Example:</strong> <pre class="prettyprint lang-php"> $myObject = new MyClass; $myObject->id = 100; $myObject->title = "posts"; $myObject->description = "this is posts"; $newArray = (array) $myObject; print_r($newArray); </pre>

By Hardik Savani | March 25, 2016 | | 1347 Viewer | Category : PHP
READ MORE

Laravel 5 custom pagination view example

laravel default also provide pagination view using bootstrap design like next and previous button and number page with link. but it is a very comman and generally used by most of developer. If you want to change it using Presenter class of laravel. you can set your own custom view for your pagination layout. In bellow i give you the example of i added first, last, next and previous button and main banifit is that you can easily modify that view and link. so let's see the preview of image layout of pagination. <strong class="preview">Preview:</strong> <img width="100%" src="/upload/laravel_pa.....

By Hardik Savani | March 23, 2016 | | 22835 Viewer | Category : Laravel
READ MORE

How to remove particular value from jquery array?

When i was working on my code PHP project, at that time i need to remove specific items value from my javascript array. i did google search and solve that but i would like to share in my site how to remove value from javascript array. so, let's see how to use: <strong class="example">Example:</strong> <pre class="prettyprint lang-js"> var languages = ['php', 'laravel', '.net', 'java', 'c#', 'javascript'] var deleteLanguage = 'laravel'; languages = jQuery.grep(languages, function(value) { return value != deleteLanguage; }); console.log(languages); </pre>

By Hardik Savani | March 23, 2016 | | 915 Viewer | Category : Javascript jQuery
READ MORE

Laravel 5 clear cache from route, view, config and all cache data from application

In this post i would like to share my experience and solution. when i was working on my laravel e commerce website with gitlab. I was fetching one issue suddenly my view cache with error during development. i did try lot to refresh and something other but i can't see any more change in my view, but at last I did resolve my problem using laravel command so, let's see i added several command for clear cache from view, route, confir etc. <strong class="example">Reoptimized class loader:</strong> <pre class="prettyprint lang-php">php artisan optimize</pre> <strong class="example">Clear Cache fac.....

By Hardik Savani | March 22, 2016 | | 82621 Viewer | Category : Laravel
READ MORE


Datetimepicker Collapse Socket.io Example FadeOut Resize Image Index Upgrade Jquery Dialog Box KCFinder ID Recursive Last mysqld.sock Local orderBy Permission SUM() Branch roumen/sitemap Import glob Tracking enableQueryLog Parameters filter apache2 Jquery Plugin uppercase Add Laravel 5.5 FIND_IN_SET() clipboard.js croppie.js away() MySQL Subquery File Upload Link bootstrap-growl Event Progress Bar File file_exists Attr MSSQL Key Constraint Protection ajaxStart Object String Twitter Bootstrap Download User Agent Sublime Class DB::raw() Confirm Box COUNT() virtual host Facebook API bootstrap tagsinput Object to Array Phonegap LIKE Query Cordova URL Excel CURL clearInterval() FILTER_VALIDATE_URL clockface plugin JWT asgardcms SEO JS Homepage Gravatar Image Laravel Eloquent socket Backup Ajax Request Control array_change_key_case Controluser Jquery UI response() roumen/feed package AngularJS Directive Trans Helper Limit Current php.ini unicodeveloper/laravel-password Config Stripe Vue.JS Subscribe Path webpatser/laravel-uuid Magento Validation Bootstrap Tokenfield Plugin Custom Apache Setup Packages timestamps phpword throttle array_map tree view Log Activity Form Validation Specific Select Bootstrap maxlength plugin AngularJS Filter Application Array Sortable Laravel 5.4 Append Fullcalendar JS Demo Linux Client side validation Page mod_rewrite Access X-editable Plugin Empty php artisan serve View bplist-parser Mail Website phpmyadmin bootstrap-multiselect plugin Bootstrap Notify Plugin Namespace Issue jquery.email-autocomplete.min.js Percentage dompdf groupBy() Google Chart Toggle voyager package Value Xampp