-
language.function.html.select.time
...e with time timestamp , DateTime , mysql timestamp or any string parsable by str...
...ct_date} and the date tips page . Prev  Up  Next {html_select_date} ...
-
language.variables.smarty
...quest variables such as $_GET , $_POST , $_COOKIE , $_SERVER , $_ENV and $_SESSI...
...iables {* display value of page from URL ($_GET) http://www.example.com/index.ph...
...display value of page from URL ($_GET) http://www.example.com/index.php?page=foo...
-
api.template.exists
...er 14. Smarty Class Methods  Next Name templateExists() — check...
...) This example uses $_GET['page'] to {include} a content template. If the templa...
-
language.function.html.select.date
..., month, and day. All parameters that are not in the list below are printed as n...
... function on the date tips page for converting {html_select_date} form values to...
-
language.function.nocache
...assigned from PHP when the page is loaded from the cache. Example 7.60. Pr...
-
caching
...Caching Table of Contents Setting Up Caching Multiple Caches Per Page Cache Grou...
...aching Multiple Caches Per Page Cache Groups Controlling Cacheability of Output ...
-
advanced.features.template.inheritance
...de} tag it does have much better performance when rendering. The child template ...
... {block name=title}Default Page Title{/block} /title {block name=head}{/block} /...
-
language.function.config.load
...ment # global variables pageTitle = "Main Menu" bodyBgColor = #000000 tableBgCol...
...comment # global variables pageTitle = "Main Menu" bodyBgColor = #000000 tableBg...
-
language.function.eval
...tents of the config file, setup.conf . emphstart = strong emphend = /strong titl...
...lcome to {$company}'s home page! ErrorCity = You must supply a {#emphstart#}city...
-
resources.string
...e eval: resource may be a better choice, as it doesn't save compiled templates t...
...mplate source every time a page is rendered. This is a good choice for strings w...
...ources may be encoded with urlencode() or base64_encode() . This is not necessar...
-
chapter.debugging.console
...ormatting of the console. Set $debugging to TRUE in Smarty, and if needed set $d...
...efault). When you load the page, a Javascript console window will pop up and giv...
...utting SMARTY_DEBUG in the URL if you enable this option with $debugging_ctrl . ...
-
troubleshooting
...ompile_dir is incorrectly set, the directory does not exist, or templates_c is a...
...m of the installing smarty page for more about permissions. Fatal error: Smarty ...
-
preface
...n, but this is probably something they don't really need to learn (now they are ...
...the header/footer on a per-page basis. With template inheritance, instead of inc...
-
tips.passing.vars
...ader.tpl' title=#archivePageTitle#} {* template body goes here *} {include file=...
...t title, depending on what page you are coming from? You can pass the title to t...
-
smarty.for.programmers
...Table of Contents 11. Charset Encoding Charset Encoding 12. Constants SMARTY_DIR...
...aching Multiple Caches Per Page Cache Groups Controlling Cacheability of Output ...
-
language.function.block
...template inheritance. For details see section of Template Interitance . The {blo...
...tpl"} {block name="title"} Page Title {/block} The result would look like html h...
-
caching.cacheable
... final output of the page gets cached. However Smarty3 offers several options ho...
... whole final output of the page gets cached. However Smarty3 offers several opti...
-
what.is.smarty
...? Prev  Part I. Getting Started  Next Chapter 1. What is Sma...
...say you are creating a web page that is displaying a newspaper article. The arti...
-
language.modifier.escape
...By default its html . Parameter Position Type Required Possible Values Default D...
...cation *} a href="$my_path?page=foo rewind=$my_uri|urlencode}" click here /a Thi...
...scape a variable to html , url , single quotes , hex , hexentity , javascript an...
-
caching.multiple.caches
...ngle call to display() or fetch() . Let's say that a call to display('index.tpl'...
... Multiple Caches Per Page Multiple Caches Per Page multiple, caches, per, page M...
...ticle_id was passed in the URL and is used as the $cache_id . Technical Note Be ...
-
language.function.literal
...ound Javascript or stylesheet blocks where {curly braces} would interfere with t...
...he escaping Smarty parsing page. Prev  Up  Next {ldelim},{rdelim} Ho...
... stylesheet blocks where {curly braces} would interfere with the template delimi...
-
language.function.debug
...s regardless of the debug settings in the php script. Since this gets executed a...
...s the debug console to the page. This works regardless of the debug settings in ...
-
index
...le of Contents Preface I. Getting Started 1. What is Smarty? 2. Installation Req...
...aching Multiple Caches Per Page Cache Groups Controlling Cacheability of Output ...
-
language.function.fetch
... {fetch} {fetch} , ldelim, fetch, rdelim, {fetch} Prev  Chapter 8. Cus...
...ith http:// , the web site page will be fetched and displayed. Note This will no...
-
api.get.registered.object
... getRegisteredObject() getRegisteredObject() getregisteredobject, getRegisteredO...
...d object . See the objects page for more info. Example 14.28. getRegistere...
-
language.function.include
...e template resource path. Setting the optional assign attribute specifies the te...
... /head body {include file='page_header.tpl'} {* body of template goes here, the ...
-
language.modifier.date.format
...ty as unix timestamps , DateTime objects , mysql timestamps or any string made u...
...ed. Check your system's manpage for a full list of valid specifiers. However, a ...
-
language.function.insert
...o pass to insert function Let's say you have a template with a banner slot at th...
...ner slot at the top of the page. The banner can contain any mixture of HTML, ima...
-
api.clear.all.cache
...er 14. Smarty Class Methods  Next Name clearAllCache() — clears...
...isCached() and the caching page. Prev  Up  Next clearAllAssign() Hom...