Showing 10 of 1,204 results.

Laravel Collection Public API: forPage

forPage($page, $perPage) The forPage method is used to implement pagination over collections. The forPage defines two parameters: $page , which is used to tell the collection which "page" should be returned and $perPage , which is used to control...

Building a Simple Statamic Request Addon

In this tutorial we will look at building a really simple Statamic addon. The addon we will build will let us determine if the incoming web request to our site has a specific query parameter; this will allow us to have greater control in the way...

A Practical Use Case | Building a Simple Statamic Request Addon

…a search form to the user if they navigate directly to the search results page without entering a search query (this technique has been implemented on this site here http://stillat.com/search ). Using our fancy new tag to accomplish this might...

The Finish Line | Building a Simple Statamic Request Addon

Congratulations you've just implemented a really simple Statamic addon tag that can be used to learn about request input. It would be trivial to expand this addon tag to learn more about the incoming request; this might be something for another...

Default Filters | Basic Filtering

Meerkat applies some filters by default to account for the most common use cases when rendering your comment threads. These default filters automatically remove soft deleted comments, spam comments, and comments that have not been approved (or...

Laravel Artisan Key Command: The key:generate Command

…cryption key needs to be regenerated after an application has been in use, any data that was previously encrypted using the old key cannot be decrypted using the new encryption key. While regenerating the encryption key is not recommended, there...

Filter Search