Showing 10 of 2,133 results.

Generating Images Using a Queue | Generating Images

You may use a queue to generate images automatically whenever a content editor makes changes to an entry within the Control Panel. For more information on how to set this up, please consider checking out the Using a Job Queue article.

Laravel 5: String Pluralization Syntax

In the previous sections, we briefly explored the concept of pluralization in regards to translation lines. In this section, we will explore the pluralization syntax in greater detail and develop our pluralization skills a little more.

Responses and Replies

In general, responses are the collection of all comments and replies on any given page of your site. A comment may have its own collection of children comments; these are referred to as replies .

A Basic Thread | Responses and Replies

The following code snippet will display all root level comments that are available on the current page as unordered list: 1 < ul > 2 {{ meerkat : responses }} 3 {{ comments }} 4 < li > {{ author . name }} says... {{ content }} </ li > 5 {{...

Laravel 5 Macros: Injecting Class-Based Macros With mixin

The mixin static method is used to load the methods of a mixin class instance into the target class as macro methods. The mixin method accepts a class instance as its first and only argument.The signature of the mixin method is: 1 public static...

Prevent Formatting of Specific Files | Formatting

It may be useful to prevent formatting of a specific Antlers template without excluding the file extension entirely. This can be accomplished by adding a special directive to your tempalte's configuration comment. Note: These configuration...

getWordAtOffset | Text Extraction

Retrieves a word from the source document at the provided character offset. Argument Description $offset The character offset. $chars A list of characters that won't break a word. 1 <?php 2 3 public function getWordAtOffset ( int $ offset , 4...