Showing 10 of 2,133 results.

Antlers Tags

…nt tags, each designed to help simplify some aspect of site development. Some tags are a bit obscure, but some are generally applicable to many types of projects. se_capture Tag, The se_capture tag can be used to store the results of a template...

Laravel String Pluralization

Since Laravel's translator is build on top of Symfony's translator component, the syntax rules used by Symfony's pluralization system will work with Laravel. Pluralization translation lines follow the ISO 31-11 standard for numeric intervals, such...

Accessing the Blueprint | Configuring the Blueprint

From within the Statamic Control Panel, select the "Blueprints" menu option on the left (labeled "1" in the figure below). Once the Blueprints page has loaded, Meerkat will have automatically added a new "Meerkat Comments" option (labeled "2" in...

Laravel String Helper Function: quick_random

The quickRandom helper method is similar to random in that it generates a random string to a given $length . The quickRandom helper method does not rely on the OpenSSL extension, and generates its random strings from a pool of alpha-numeric...

Specifying the Entry (or Collection) | Template IDE Hints

You may specify the collection name by using either the @entry or @collection directive (use whichever feels best for you as they are equivalent): 1 {{# 2 @name The template name. 3 @desc A human-friendly description for your awesome template. 4...

Submitting Our First Comment | Integrating Meerkat

Now that we have a comment form on our blog, let's give it a test run! Don't worry - we don't have to go through any more setup tasks in order to start receiving comments it will just work. Enter a comment into your new form and activate the...

findAllNodesStartingOnLine | Querying Document Nodes

Retrieves all nodes starting on the target line. Only the node's starting position is considered. Argument Description $line The target line. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function...

Description | General Metadata

The description method queues a <meta name="description" content"..."> tag. By default it binds to the $meta_description variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned...

Front-end Templates

There are two ways to add the web manifest HTML tag(s) to your site's front-end templates: the dedicated Antlers tag and the metadata provider.The se_web_manifest Antlers tag may be used to output the HTML tag for your site's generated manifest...