Laravel: Roles/Permissions for Individual Fields
Laravel has a great roles/permissions system out-of-the-box, based on Gates and Policies, and it’s usually used to access the whole menu item or some action, like create/delete. But what if you need to restrict a certain DB COLUMN from being edited? Like, for example, “published” checkbox for articles, that can be ticked only by Administrators, and not by Authors. Let’s see how to do it.
Ordering Datatables Column With “non-standard” Date Format like mm/dd/yyyy
Datatables.net is a really good script to manipulate table data, with ability to order by any column by clicking on its header. But the problem is that it’s ordering by string value of that column, what if we need to order by different value of that column? Typical example is about date formats.
How to Customize View/Edit/Delete Buttons Column in AJAX Datatables
One of the often customization questions from our customers is about action buttons on Datatables. For every table, we generate three actions – View, Edit and Delete. How to customize them?
QuickAdminPanel 2019: New Version is Ready for you
Finally this day has come – after multiple rounds of alpha-testing with existing customers, we can finally announce that you can register for a completely new version of QuickAdminPanel.
Laravel Forms: Select Dependent Dropdowns with jQuery and AJAX
Imagine you have a form where dropdowns depend on each other. Common example is a city select, where you need to choose a country first, and then cities list is refreshed. How to do it in Laravel?
Add Tags to Articles: Laravel Many-to-Many Relationships with Select2
This article is a simple example of belongsToMany() relationships in Laravel, with managing the data in CRUD form and table, using Bootstrap framework and Select2 library.
Laravel: How to Make Menu Item Active by URL/Route
Probably one of the most common operation on every website is to assign “active” CSS class to the menu item which is currently opened. There are quite a few ways to detect that status, let’s review them. We assume that the code will be based…
Try our QuickAdminPanel Generator!
How it works:
1. Generate panel online
No coding required, you just choose menu items.
2. Download code & install locally
Install with simple "composer install" and "php artisan migrate".
3. Customize anything!
We give all the code, so you can change anything after download.