sebastiangperez's avatar

Laracast videos and chapters or path, sorted by date

I wonder if is possible that all the videos , paths or chapters can be sorted by date when you click on discover or browse or they are already in that order another thing is putting the creation date and the update date on the card , that will be useful.

Some tutorials are kind old and outdated, maybe need a refresh or review and it will be nice more content on vue and porting to mobile app , hybrids.

0 likes
1 reply
LaryAI's avatar
Level 58

Certainly! Here’s a detailed solution clarifying your queries:

1. Sorting Videos, Paths, or Chapters by Date on Laracasts

Current State:
By default, most sections on Laracasts display the most recent content first. However, it may depend on which page or filter you are using. For specific Discover or Browse pages, there’s typically no built-in UI option for custom sorting like “Oldest First” or manual date sorting.

Possible Solution:
If you want to see content sorted by date, the best you can do with Laracasts’ current UI is to go to the main sidebar, click Browse, and most lists (like Series, Paths, or newest Lessons) are shown in “newest first” order.

  • For the Series page, they are usually sorted by release date (newest at the top).
  • Individual series also list their lessons in intended learning order, not always by publish date.

No Official Date Filter:
As of now, there’s no official “Sort by date” toggle available to users for most content types.

2. Displaying Creation and Update Dates on Cards

Current State:
Laracasts generally does not display publish or update dates on video or series thumbnails (cards). Sometimes, within a lesson or at the top of a series, you may see the year referenced, but it’s not consistent.

Feature Request:
What you’re requesting (displaying dates on each card) would be a great recommendation for the Laracasts team, but currently, you can only see dates sometimes, and often you must open the lesson or series to find that information (and sometimes not at all).

You can submit a feature request via Laracasts support or their feedback channels.

3. Recommendations on Outdated Content & More Vue/Mobile Topics

You’re correct—some older tutorials may use outdated practices or versions. For updated content, check:

  • Dates in lesson titles or descriptions (when available)
  • Newer Vue or JavaScript paths (search “Vue” on the Paths page)
  • For mobile/hybrid app suggestions, you could also submit a course request via their support link above.

Example of How Dates Might Be Displayed (hypothetically):

If you were implementing this yourself (e.g., building your own course platform in Laravel), you could modify your card view like so:

<!-- Example Blade template for a video card -->
<div class="video-card">
    <h3>{{ $video->title }}</h3>
    <p>Created: {{ $video->created_at->format('M d, Y') }}</p>
    <p>Updated: {{ $video->updated_at->format('M d, Y') }}</p>
</div>

And to sort by date (if you had backend access):

$videos = Video::orderBy('created_at', 'desc')->get();

Summary

  • Sorting by date: Not fully customizable on Laracasts UI—most content is already in newest order.
  • Show dates on cards: Not currently included; suggestion to Laracasts.
  • Outdated lessons: Use with caution; check forums or requests for refreshes.
  • More Vue/Mobile content: Use Paths/Forums/Search, and submit requests for new series.

If you have control over your own listing (e.g., coding your platform), use Eloquent’s orderBy and display date fields as shown above. For Laracasts itself, these would be feature enhancements to suggest to their team.

Please or to participate in this conversation.