Pixellius

Pixellius

Member Since 1 Year Ago

Experience Points 3,000
Experience
Level
Lessons Completed 27
Lessons
Completed
Best Reply Awards 0
Best Answer
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

27 Dec
11 months ago

Pixellius left a reply on Do I Need Guzzle If I Already Use Axios?

@andreasbakir that was the answer i was looking for! Thanks a bunch :)

Pixellius left a reply on Do I Need Guzzle If I Already Use Axios?

@wilk_randall cant i do that with axios from the vue script?

Pixellius left a reply on Do I Need Guzzle If I Already Use Axios?

Hey @Snapey thanks for your reply! At the moment I'm using Axios to do get requests and post requests back to my Laravel backend. Is there a situation where I would need to use Guzzle specifically?

Pixellius started a new conversation Do I Need Guzzle If I Already Use Axios?

Hey guys as the question states. If I'm using Vue with Axios in a laravel project do i still need Guzzle to consume api? Cuz Axios already does that for me. What are the differences between the 2?

19 Dec
11 months ago

Pixellius left a reply on “The Page Has Expired Due To Inactivity” Appears When Using A Services Methods - Laravel 5.5

try this:

public function updateMaterial(Request $request, $id)

You didn't declare the request

Pixellius left a reply on Best Text Editor For Laravel

Atom is what im using at the moment its great haha multiple cursors ftw

Pixellius left a reply on Passing Values From Old Session To New Session

Never mind i stored the data i needed from the session in a cookie and retrieved the info i needed from the cookie thanks anyway @RamjithAp

Pixellius left a reply on Can You Do Redirect With Flash In Spark?

from what little i know you can try this.

Make sure your login route is set in the web.php, if you are using php artisan make:auth you are pretty much covered.

So in your controller you do this:

Session::flash( 'error' , 'try again' );
return redirect()->route('login');

Then to display the messages in the related view you do this:

@if(Session::has('error'))

  <div>
    <strong>Error:</strong> {{Session::get('error')}}
  </div>

@endif

Pixellius started a new conversation Passing Values From Old Session To New Session

Hey all,

I'm not sure if this is the right place to ask but here's my question anyways. I want to pass a value from an old session to a new session after the session times out. Is it possible? If so how would i go about doing that?

17 Dec
11 months ago

Pixellius left a reply on {{ HTML::style}} Not Working On Local Host

Just to get back on this question after a month. It was a stupid mistake im sorry the previous dev put the public folder in another folder called public for some reason...

07 Nov
1 year ago

Pixellius left a reply on {{ HTML::style}} Not Working On Local Host

@ejdelmonico it was a 5.3.31 site,

and this

<link href="{{ asset('assets/user-module/css/main.css') }}" rel="stylesheet">

dosent work either.

I am now 90% sure its not html collective but some issue with the where the url points to just to check

in my ```homestead.yaml`` i wrote this

    - map: laravel_pilot.localhost
      to: /home/vagrant/code/laravel_pilot/public
    - map: laravel_blugate.localhost
      to: /home/vagrant/code/blugate/public

and in my etc/hosts i have

192.168.10.10   laravel_pilot.localhost
192.168.10.10   laravel_blugate.localhost

Did it mess something up?

Pixellius left a reply on {{ HTML::style}} Not Working On Local Host

@ejdelmonico what puzzles me the most is that the production model works with exactly the same code!

Pixellius left a reply on {{ HTML::style}} Not Working On Local Host

@a.ankitpatel Tried that too haha I've been scouring the internet for solutions to this problem.

I think im getting close tho if enter my site through the url and check the source i get the href to my css looks like this

https://laravel_pilot.localhost/public/assets/user-module/css/main.css

but if i enter through the ip address it looks like this

https://192.168.10.10/public/assets/user-module/css/main.css

which basically tells me the location that laravel appends to the url means nothing

Pixellius left a reply on {{ HTML::style}} Not Working On Local Host

Hey ejdelmonico thanks for the responses really appreciate it. Could you elaborate on the macros? Are you referring to the html::macro() function in laravel? If so i don't have any either haha

I could just change everything to normal style tags with absolute links but there are a ton of these html::style/html::script/URL::asset things in this source code.

Pixellius left a reply on {{ HTML::style}} Not Working On Local Host

yea i tried it without public too i think its one of the 4 snippets i had above

Pixellius left a reply on {{ HTML::style}} Not Working On Local Host

hey a.ankitpatel thanks for your reply but sadly it still didn't work after i tried reinstalling. Is it something to do with homestead?

Pixellius left a reply on Laravel Doesn't See (almost) Any View

Do you by any chance have data referenced in the home view? if so check your database to see if the fields you referenced are there. Maybe you forgot to migrate the database or smth

Pixellius started a new conversation {{ HTML::style}} Not Working On Local Host

Hi guys im new to laravel and Ive been having this issue with html::style.

So I had some source code for a website thats online and decided to try and host it locally after going through all the installations and getting Homestead to work i ran into this issue

for some reason the line below dosen't work on my local host

{{ HTML::style('public/assets/user-module/css/main.css') }}

but this does

any idea why?