Questions tagged [laravel-views]
69 questions
0
votes
1 answer
How to pass a variable to two different view from a controller in Laravel
I am working on developing a social networking site.
In my view folder there are two different folders:
1.layout:
Layout have app.blade file: This file contain an notification header like fb. example:
Notification example Image
2.user : User have…

Mohammed
- 648
- 2
- 12
- 32
0
votes
1 answer
Custom error page not working in Laravel 5.3
I have the following file in views/errors/404.blade.php:
Error Here!
That works as expected when I enter an incorrect URL (I see just the "Error Here!" text).
However, if I update the file to include the…

zundi
- 2,361
- 1
- 28
- 45
0
votes
0 answers
Laravel Zizaco Role and Permission Error BadMethod Error
1/4 BadMethodCallException in Repository.php line 352: This cache
store does not support tagging.
this the error 1 when i use the role blade syntax on my view blade template.
Actually the erroe started when i use the tinker cli i got got the…

dagogodboss
- 483
- 1
- 4
- 19
0
votes
1 answer
Laravel 5.1 Blade view output charset not working as expected
I have encountered a strange situation. After releasing the project to the release server some characters are not displaying correctly, however running the project on c9.io server works just fine.
For example:
This is what I'm seeing in c9.io
And…

Evaldas Šakinis
- 1
- 3
0
votes
4 answers
How to redirect user to custom URL (view)?
I have such URL in Laravel 5:
domain.com/search-user/email@domain.net
When I enter this URL, it automatically searches data by given email.
How I should redirect user from other controller to this URL?
I have tried, but it doesn't work:
return…

Linas Lg
- 199
- 2
- 17
0
votes
1 answer
How to clear compiled view for specific blade template
PHP artisan view:clear command clears whole compiled views in an application.
How to clear compiled output for specific view.

harish
- 578
- 2
- 8
- 21
-1
votes
1 answer
How can i view the a post in laravel on a modal
Follow is my index blade
@section('content')
Posts
Title | Content | Photo | Comments | …
---|