Answer the question
In order to leave comments, you need to log in
How to display fields in SleepingOwl admin panel?
Greetings!
Just started learning php and laravel in particular. Laravel version 5.2. Installed the SleepingOwl admin panel. The documentation for this admin is just disgusting. Added menu items:
Admin::menu()->url('menu')->label('Меню')->icon('fa-reorder');
Admin::menu()->url('pages')->label('Страницы')->icon('fa-files-o');
Admin::menu()->url('settings')->label('Настройки')->icon('fa-gear')->uses('\App\HTTP\Controllers\[email protected]');
<?php namespace App\Http\Controllers;
use Illuminate\Routing\Controller;
class SettingsController extends Controller
{
public function getSettings()
{
return view('settings');
}
}
Answer the question
In order to leave comments, you need to log in
Excuse me, but what does learning laravel and the sleeping-owl/admin module have to do with it?)
Learn php and laravel , why study the module?)
Authorization from the laravel box
further
Middleware
And you can sculpt your own admin panel using the Routing
links
Learn
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question