Boots.. hope this makes sense !

This commit is contained in:
pete_morgan
2006-03-28 01:08:14 +00:00
parent 509e7d1029
commit 796a57cddf

View File

@@ -5,8 +5,8 @@
<para>
{insert} tags work much like <link
linkend="language.function.include">{include}</link> tags,
except that {insert} tags are NOT cached when you have
template <link linkend="caching">caching</link> enabled. They
except that {insert} tags are NOT cached when
template <link linkend="caching">caching</link> is enabled. They
will be executed on every invocation of the template.
</para>
@@ -61,6 +61,11 @@
</tgroup>
</informaltable>
<para>
Variables passed to {insert} will be cached by the calling script. Instead reference a variable within the inserted file!!
ie {insert foo='baa'} will be cached, wheras $foo within the {insert}ed template will not.
</para>
<para>
Let's say you have a template with a banner slot at the top of
the page. The banner can contain any mixture of HTML, images,