Showing 10 of 2,044 results.

Laravel 4: Rendering a View to a String

…( ) ; 6 7 } ) ; This is incredibly useful when you need to get the view as a string to do further processing on it. I use this in one project where I take the view data to generate a PDF of the web page using wkhtmltopdf . I may create a tutorial...

se_deferred Tag

…e scope they had at the time. 1 {{ se_deferred }} 2 The code inside this section will be delayed 3 until right before the response is sent. 4 {{ /se_deferred }} Deferred regions will generally be evaluated in the order they were registered, but...

Wrapping our Nested List | Responses and Replies

…e wrapper element again ( ul ): 1 {{ if comments }} 2 < ul class = " nested-list " > {{ * recursive comments * }} </ ul > 3 {{ /if }} This provides you the opportunity to wrap the replies in a custom wrapper element, add additional CSS classes,...

Advanced Reply Forms

This article assumes that you have read through the Reply Forms article and already have a custom reply form that you want to extend further with JavaScript. You can hook into Meerkat's reply-to functionality by modifying the MeerkatReply window...

Laravel Artisan Event Command: The event:generate Command

…: 1 # Generate missing events and listeners. 2 php artisan event:generate The newly created event and listener will be stored in the following files, respectively: app/Events/BookWasPurchased.php and app/Listeners/EmailPurchaseConfirmation.php ....

Search Results Tag

Documentation Search provides a {{ documentation:results }} Antlers tag, which behaves similarly to Statamic's search tag . The documentation results tag adds the following capabilities to Statamic's default search tag: Related search results can...

Component Parameter Parsing | Core Concepts

…itrary whitespace between parameter names and their value, provided the value is enclosed within quotes: 1 < x-alert 2 message 3 = " The message contents " /> While the parser supports it, it is still not recommended. It is supported to help tool...