Showing 10 of 2,044 results.

getComponents | Querying Document Nodes

Returns all component tags within the document. This method will return all component tags within the document, including closing tags and self-closing tags. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function...

Laravel 5.5 String Helper Function: after

The after method can be used to return a part of a string after the first occurrence of a $search character. This method can be used to help parse URL query strings, or to quickly find substrings based on a certain character.The signature of the...

Disabling the Preview Action | Creating Image Templates

If you need to disable the "Preview Social Media Template" action, you can update the config/social_media_image_kit/general.php configuration file and set the preview_enabled value to false : 1 <?php 2 3 return [ 4 5 // ... 6 7 /* 8...

Laravel Array Helper Function: array_flatten

The flatten helper method is similar to the dot method in that it takes a multi-dimensional array and transforms it into a new array with only one dimension. While the dot method preserves the keys by separating them with dots , the flatten method...

Laravel 5.5 String Helper Function: before

The before method can be used to return a part of a string before the first occurrence of a $search character. This method can be used to help parse URL query strings, or to quickly find substrings based on a certain character; it is the logical...

Control Panel Overview

The Statamic Control Panel is the recommended method for interacting with Meerkat comment data (but you are welcome to dig around the file system, if you wish).Meerkat can be accessed by selecting the "Comments" menu item from the navigation menu...

Overview | Responses and Replies

The {{ meerkat:responses }} tag is your window into the comment data stored for each of your site's pages. This tag and data structure has a lot in common with Statamic's collection tag, but they should not be used interchangeably when displaying...

Paginated Groups | Responses and Replies

Meerkat 2 introduces the ability to create paginated groups of comments; this feature combines the pagination and grouping features to allow for incredibly customized and complex comment layouts. This feature is intended for advanced use cases; if...