Showing 10 of 1,204 results.

Recursive Comments (Nested Replies) | Responses and Replies

…al pattern on web pages. This feature relies on the following Statamic pull request: https://github.com/statamic/cms/pull/8421 . Until this is generally available, you will need to pull this in with a composer patch, or recursively include a...

Flat Threads | Responses and Replies

…ts. For example, if there are only two root level comments, but there are twenty total comments, only the two root level comments will be available when iterating the comments collection. You can disable this by supplying a value of true to the...

Pagination Variables | Responses and Replies

…{ prev_page }} The URL to this instance's previous page. {{ total_items }} The total number of comments across all pages. {{ total_pages }} The total number of paginated pages. {{ current_page }} The current paginated page; this will match the...

Date Grouped Comments | Responses and Replies

Meerkat supports grouping your comments by date out of the box. To utilize this feature, you just need to add the group_by_date parameter with the date format you'd like to use: 1 {{ meerkat : responses group_by_date = " Y m, d " }} 2 3 {{...

Paginated Groups | Responses and Replies

…ead for your site or client project consider checking out the A Basic Thread and Recursive Comments (Nested Replies) sections. While this is an advanced feature, using it is incredibly simple; all you have to do is add the group_by_date and...

Laravel 5: Checking if a Variable Holds a Value With filled

…$ value 3 ) ;The following example demonstrates the basic usage of the filled method and is the opposite of the example provided in the blank section: 1 // Set a value to null. 2 $ testValue = null ; 3 4 if ( filled ( $ testValue ) ) { 5 //...

Laravel Array Helper Function: array_has

…sExist = Arr :: has ( $ anArray , ' does_not_exist ' ) ; At this point, the value of $doesExist would be false , which is accurate. Using this method is easier to read than using PHP's isset function and checking at each level of the array...

Installation | Introduction & Installation

Social Media Image Kit can be installed into an existing Statamic project by running the following command from the root of your project: 1 composer require stillat/social-media-image-kit Social Media Image Kit requires some configuration and...

Filter Search