Showing 10 of 1,085 results.

No Comment Messages | Responses and Replies

To offer the best user experience, you may wish to display a message to users to encourage them to leave the first comment on a blog post or page. To do this, we will make use of the no_results value that is available to use when rendering Meerkat...

Paginated Comments | Responses and Replies

Meerkat can display your comment threads as a paginated list. Developers familiar with Statamic's collection pagination will be comfortable working with Meerkat's pagination feature. To enable pagination mode when rendering your comment thread,...

Multiple Pagination Instances | Responses and Replies

In the previous section, you may have noticed that the examples and descriptions were careful to mention that some values apply to the "current instance". This is because Meerkat allows you to have multiple threads on a single page, and if they...

Laravel 5: Conditionally Retrieving Array Values With where

The where helper method is functionally similar to the pluck method, in that both take a source $array and filter it to produce a smaller array. It works by iterating over each element in the $array and executing the $callback on each key value...

Laravel Collection Public API: collapse

…ems ' => 3 array ( size = 10 ) 4 0 => int 0 5 1 => int 1 6 2 => int 2 7 3 => int 3 8 4 => int 4 9 5 => int 5 10 6 => int 6 11 7 => int 7 12 8 => int 8 13 9 => int 9 The collapse method internally calls the Illuminate\Support\Arr::collapse($array)...

HTML Rendering Setup | Introduction & Installation

…Browsershot documentation at https://spatie.be/docs/browsershot/v2/requirements . Each environment is different and may pose its own unique challenges when installing or configuring Puppeteer. Because of the high degree of variability, if you are...

Filter Search