Questions tagged as 'laravel'

0
answers

Create automatic pagination with laravel and jquery

I need to create a manual pagination on laravel. I did not quite understand the logic of this topic: Manual Paging in Laravel 5.1 a> But I need to get him to create the automatic pages. Not manual. See the example I made. It even works o...
asked by 17.10.2017 / 15:16
2
answers

login system laravel with permission levels

I'm trying to set up a login system, but I can not seem to get the result I need. There are three types of users: Admin User (students) Teachers I've adapted the make:auth with roles to create teacher and student, it's wor...
asked by 24.10.2017 / 19:29
1
answer

How to configure multiple systems in a domain?

I have domain www.mysite.com I would like to host multiple systems in this domain. Staying like this: www.mysite.com/system1 www.mysite.com/system2 www.mysite.com/system3 I use virtualhost like this: <VirtualHost *:80> S...
asked by 24.10.2017 / 23:17
1
answer

Running a git laravel project on my machine

I put a laravel project of my machine in git with the default git ignore. Then to use on another pc I downloaded git from the command line and tried to install the composer: composer install But it does not install .env and other things...
asked by 02.11.2017 / 21:28
0
answers

Angular 2 - Template?

In a structure like this: <header></header> <main> div1: <router-outlet></router-outlet> div2: <router-outlet></router-outlet> div3: <router-outlet></router-outlet> </main>...
asked by 10.10.2017 / 20:05
1
answer

Laravel Form for searching records

I come from desktop programming and I'm starting studies on Laravel with Bootstrap. I would like to know if it is possible to create a form (preferably modal) for searching records. For example, when registering a person, instead of using a s...
asked by 16.10.2017 / 03:30
1
answer

How to get all users logged in at the moment in Laravel 5.4

I need to loop with all the users who are currently logged into the system. How could I do that? I know that with auth()->check() we can know if a user is logged in. Plus I wanted to know everyone who is logged in right now. Is there a...
asked by 19.10.2017 / 23:34
0
answers

Error connecting a postegresql database to Laravel

I'm having a problem when using Laravel with postgresql on Linux, when trying to connect to the database it says that I do not find the postgresql driver, I already enabled postgresql in php.ini like this: extension=pgsql.so extension=pdo_pgsq...
asked by 09.10.2017 / 05:41
1
answer

How to solve this problem in DataTables?

I have a problem in DataTables that is making me sleepy. I have the following code. It even displays the datatable but the table functions do not work. The next does not appear nor the prev. If I remove the destroy it returns in the message: War...
asked by 09.10.2017 / 15:58
1
answer

Paginate laravel doubts

I made this code 1 in code 2 1)//$palpites=DB::select("SELECT * FROM palpite WHERE id_u='$id' order by id_c desc "); 2) $palpites = DB::table('palpite')->where('id_u',$id)->orderby('id_c','desc') ->paginate(3); How to turn t...
asked by 12.10.2017 / 17:05