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…
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…
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

-2
votes
1 answer

Having Laravel 8 routing and controller issue

Having Laravel 8 routing and controller issue I'm bit new to laravel8 and got hang of it and I'm building a news portal as a project and learn at same time. On the main index page I like to display some data such posts and categories and so on,…
-2
votes
2 answers

PHP compact method undefined in Laravel 5.4

I'm having to move my laravel 5.4 app to a >=PHP 7.3 Server. Upgrading the App to a higher laravel version breaks everything. So I'm stuck with making this work as is. The problem now is that Compact() method (which was used to pass variables to the…
1 2 3 4
5
Title Content Photo Comments