-
installing.smarty.basic
...y get changed when you upgrade to a new version of Smarty. In the examples below...
.../ for *nix machines and c:\webroot\libs\Smarty-v.e.r\ for the windows environmen...
-
api.get.tags
-
language.function.append
-
variable.default.resource.type
-
language.variables.smarty
... can be used to refer to loaded config variables . {$smarty.config.foo} is a syn...
-
api.template.exists
...ror page is displayed instead. First the page_container.tpl html head title {$ti...
-
smarty.for.designers
...ariable scopes Variables loaded from config files {$smarty} reserved variable Re...
-
language.syntax.variables
...dollar syntax and are instead referenced with surrounding #hashmarks#, or via th...
-
api.assign.by.ref
...me); $smarty- assignByRef('Address', $address); ? See also assign() , clearAllAs...
-
language.variable.scopes
...s Home  Variables loaded from config files ...
-
api.create.template
...ache_id variable once instead of passing this to each call to this function. It ...
-
api.append.by.ref
...me); $smarty- appendByRef('Address', $address); ? See also append() , assign() a...
-
caching
...le, that is displayed instead of regenerating the output. Caching can speed thin...
...ing the front page of your website that does not change its content very often, ...
-
api.is.cached
...returns TRUE it actually loads the cached output and stores it internally. Any s...
-
language.builtin.functions
...{call} {capture} {config_load} {debug} {extends} {for} {foreach},{foreachelse} @...
-
language.function.html.table
...separated list of column heading names or an array of column heading names.if th...
-
advanced.features.template.settings
...rev  Chapter 17. Advanced Features  Next Changing settings by temp...
-
language.function.foreach
...break} , {continue} . Instead of specifying the key variable you can access the ...
-
caching.custom
...ion that will be used to read, write and clear cached files. Note In Smarty2 thi...
-
troubleshooting
... Smarty error: unable to read resource: "index.tpl" in... or Warning: Smarty err...
...dir is not writable by the web server. See the bottom of the installing smarty p...
-
advanced.features.outputfilters
...rev  Chapter 17. Advanced Features  Next Output Filters When the t...
-
plugins.resources
...ame to the template you're addressing: foobarxyz:yourtemplate.tpl . If a Resourc...
-
language.modifier.strip
-
caching.cacheable
...rom PHP when the page is loaded from the cache. Cacheability of Template Section...
-
caching.groups
-
language.variables
...ariable scopes Variables loaded from config files {$smarty} reserved variable Re...
-
advanced.features.postfilters
...rev  Chapter 17. Advanced Features  Next Postfilters Template post...
-
api.fetch
...s the template output instead of displaying it. Supply a valid template resource...
-
api.display
...pile_id variable once instead of passing this to each call to this function. Exa...
-
language.function.assign
-
caching.multiple.caches
...ooks handy, it could have bad consequences. The $cache_id is used to create a di...
...sing values from a client (web browser) into Smarty or any PHP application. Alth...
-
resources.custom
... be accessed faster than loading the comple template source. * @param string $na...
-
plugins.compiler.functions
...---- * File: compiler.tplheader.php * Type: compiler * Name: tplheader * Purpose...
-
installing.smarty.extended
...ic installation , please read that first! A slightly more flexible way to setup ...
...); $this- setTemplateDir('/web/www.example.com/guestbook/templates/'); $this- se...
-
tips.componentized.templates
... Componentized Templates Traditionally, programming templates into your applicat...
-
api.register.resource
-
index
...m Uwe Tews uwe dot tews at googlemail dot com Copyright © 2001-2011 New Digit...
...ariable scopes Variables loaded from config files {$smarty} reserved variable Re...
...directories writable 2.8. /web/www.example.com/guestbook/templates/index.tpl 2.9...
-
advanced.features.objects
...rev  Chapter 17. Advanced Features  Next Objects Smarty allows acc...
...ices section of the Smarty website. There are two ways to access them. One way i...
-
api.clear.compiled.tpl
... age. This function is for advanced use only, not normally needed. Example 14...
-
language.function.section
...can be anything you like, made up of letters, numbers and underscores, like PHP ...
...l'), array( 'home phone', 'web'), array( 'cell phone') ); $smarty- assign('conta...
-
resources
...'file:foo.tpl'); // will load ./templates/foo.tpl // using numeric index $smarty...
...template_dir . This allows websites employing multiple sets of templates better ...
-
api.create.data
...  Up  Next configLoad() Home  createTemplate() ...
-
api.clear.cache
-
advanced.features.prefilters
...rev  Chapter 17. Advanced Features  Next Prefilters Template prefi...