mdbootstrap / adminlte-laravel

A Laravel 5 package that switchs default Laravel scaffolding/boilerplate to AdminLTE template and Pratt Landing Page with Bootstrap 3.0
MIT License
1.81k stars 508 forks source link

Problems with installation #12

Closed Sogl closed 9 years ago

Sogl commented 9 years ago

Hi!

Sorry, I'm new in Laravel... I already did these steps (using vagrant):

// AdminLTE template provider         
Acacha\AdminLTETemplateLaravel\app\Providers\AdminLTETemplateServiceProvider::class,
map: laravel.app
to: /home/vagrant/Code/laravel.app/public

But what next? How to see AdminLTE login form? I tried to add routes in routes.php, but url http://laravel.app/home give me error:

ErrorException in 645ddd92044e80ef67faf70852c9c41a line 118:
Trying to get property of non-object (View: /home/vagrant/Code/laravel.app/resources/views/partials/mainheader.blade.php) (View: /home/vagrant/Code/laravel.app/resources/views/partials/mainheader.blade.php) (View: /home/vagrant/Code/laravel.app/resources/views/partials/mainheader.blade.php)
acacha commented 9 years ago

Which version of Laravel are you using?

Did you added routes as proposed in section "Laravel 5.1 notes" of README file https://github.com/acacha/adminlte-laravel/blob/master/README.md ?

acacha commented 9 years ago

Or you can try new version 1.0 . Now README file is updated for this version

Sogl commented 9 years ago

Which version of Laravel are you using?

5.1

Did you added routes as proposed in section "Laravel 5.1 notes" of README file

Yep.

Or you can try new version 1.0 . Now README file is updated for this version

How to update from previous version? with composer update?

acacha commented 9 years ago

Change version in composer.json to 1.0 and then run composer update. Then there's no need of routes in routes.php

Sogl commented 9 years ago

Thx! It works now. But my routes.php file not changed:

<?php

Route::get('/', function () {
    return view('welcome');
});

Where I can find new routes?

Also some icons missing: screenshot_24 Screen from template preview: screenshot_25

Now if I go to my http://adminlte.lar/ then see standard Laravel 5 welcome page. How to route it to http://adminlte.lar/home by default? Also sign out button move to root http://adminlte.lar/.

And what about multilanguage support?

acacha commented 9 years ago

I added two issues for your requests. I close this one:

https://github.com/acacha/adminlte-laravel/issues/13