roddyp

roddyp

Member Since 1 Year Ago

Experience Points 5,810
Experience Level 2

4,190 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 51
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

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

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

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

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    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 Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

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

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

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

16 Oct
9 months ago

roddyp started a new conversation Problems With Mix And Webpack-dev-server -

I'm struggling to get Laravel Mix and webpack-dev-server working together correctly. Mix works fine for bundling assets to files, and using "watch" mode also works correctly.

When I try using it with webpack-dev-server, I hit problems. The in-memory "build" seems to works, and the dev-server is serving up assets (so not a cache problem) - but it's serving stale ones from storage, rather than the in-memory versions. If I change a source file I see the rebuild in the console, but still the stale assets get served if I hit F5. (The stale assets are from a previous 'regular' Laravel mix build)

More details on SO below. Not sure if SO or this forum is the best place to ask this...

https://stackoverflow.com/questions/52831164/laravel-mix-and-webpack-dev-server-changed-files-not-refreshing

31 Jul
1 year ago

roddyp left a reply on Laravel 5.5 Pagination For Bootstrap 4

@gcwilliams

links() vs. render() . Thanks, you're right.

Vendor publish : I want to use the BS4 views that ship with Laravel 5.5. I've no plans to mod them would actively prefer them to be updated with the rest of the framework.

roddyp left a reply on Laravel 5.5 Pagination For Bootstrap 4

OK, understand it now. PaginationServiceProvider specifies the view 'namespace' pagination with theloadViewsFrom` call.

$this->loadViewsFrom(__DIR__.'/resources/views', 'pagination');

roddyp left a reply on Laravel 5.5 Pagination For Bootstrap 4

Ah - just drilling down from @gcwilliams answer re namespace. Again, it all seems quite different with 5.5...

roddyp left a reply on Laravel 5.5 Pagination For Bootstrap 4

@jlrdw "Again" ??? Have I missed something?

Pagination CSS - yes, understand all that - what I don't yet understand is how requesting a view called *pagination::*foobar maps to vendor/laravel/framework/src/Illuminati/pagination/resources/views/foobar.blade.php

roddyp left a reply on Laravel 5.5 Pagination For Bootstrap 4

After a bit more digging, this approach works and should be robust. I've just stuck it in bootstrap\app.php for now

Illuminate\Pagination\AbstractPaginator::defaultView("pagination::bootstrap-4");
Illuminate\Pagination\AbstractPaginator::defaultSimpleView("pagination::simple-bootstrap-4");

This sets the default view for both simple and normal paginators. pagination:: is still voodoo to me though.

roddyp left a reply on Laravel 5.5 Pagination For Bootstrap 4

Thanks.

@36864 Won't that get overwritten if/when I upgrade the Laravel version of the project?

@gcwilliams In 5.5 links() is replaced with render() which appears to work similarly. Also not clear how to use the 5.5 paginator views in-situ rather than copying them to resources\views?

After looking into the code. I tried this which works, but I'm not yet familiar with the pagination::syntax?

{{$users->render("pagination::bootstrap-4")}}

roddyp started a new conversation Laravel 5.5 Pagination For Bootstrap 4

How do I get the render method to output HTML for Bootstrap 4 rather than 3? I see bootstrap-4.blade.php and other view files in \Paginations\resources\views, but I don't know how/where to specify which one to use.

Sorry for the noob question as I'm still feeling my way around this stuff, and most of the info I've found seems to refer to earlier Laravel releases.