From 71664b541902ab49be44300fbb71db3e7aebf796 Mon Sep 17 00:00:00 2001 From: Julian Mallett Date: Tue, 26 May 2015 17:13:06 +1000 Subject: [PATCH] Example to include templates doesn't work The PHP example for including templates within templates doesn't work. Without the colons, the engine looks for `article_details.html.php` in `app\Resources\` instead of `app\Resources\views\article` --- book/templating.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/templating.rst b/book/templating.rst index a2b5907d12b..6035e786bd9 100644 --- a/book/templating.rst +++ b/book/templating.rst @@ -558,7 +558,7 @@ Including this template from any other template is simple: render( - 'Article/article_details.html.php', + '::article/article_details.html.php', array('article' => $article) ) ?> pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy