Showing 7 of 2,041 result(s)
…ters these types of structures, it changes its behavior to make all key/value pairs available as new variables within the tag pair, overwriting any previous variables with the same name. This behavior injects variables from tags, such as the...
In this section, we will enhance our cache system by introducing the ability to categorize or "label" our cached responses. We can efficiently invalidate multiple related responses by using these cache labels. Additionally, we'll set up new event...
At this point, we are ready to begin implementing our actual component compiler. We will create a couple of new classes to help keep things organized. The first will be a data object containing the details of each compiled class and serves as a...
The default Tidal template uses translation strings and Statamic's translation tags. The default translation files can be found in the lang/en/ directory. By default, the following language files are available for customization: Filename...
A common design pattern when building Statamic sites is to use fieldsets to create reusable fields across different collections, forms, or pages. Additionally, it is also not uncommon to see specific partials created to display these fieldsets....
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...
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following...