Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Search Results for "files"

  • config.files
    ... Chapter 9. Config Files Chapter 9. Config Files chapter, 9, config,...
  • installing.smarty.basic
    ...Install the Smarty library files which are in the /libs/ sub directory of the di...
  • variable.cache.lifetime
    ...pile is enabled, the cache files will be regenerated every time, effectively dis...
  • variable.cache.dir
    ...mentation to control cache files, which will ignore this setting. See also $use_...
  • smarty.for.designers
    ...riables loaded from config files {$smarty} reserved variable Request variables {...
  • language.variable.scopes
    ...riables loaded from config files ...
  • language.escaping
    ...ascript/CSS into their own files and use standard HTML methods to access them. T...
  • variable.config.read.hidden
    ...with a period(.) in config files can be read from templates. Typically you would...
  • variable.use.sub.dirs
    ...ially tens of thousands of files created, this may help the filesystem speed. On...
  • variable.config.dir
    ...ctory used to store config files used in the templates. Default is ./configs , m...
  • caching
    ...ade up of several template files, config files, etc. Since templates are dynamic...
  • advanced.features.template.inheritance
    ...ends} tags in the template files you can define the whole template inheritance t...
  • language.function.config.load
    ... /table /body /html Config Files may also contain sections. You can load variabl...
  • language.function.textformat
    ... Chapter 9. Config Files ...
  • variable.template.dir
    ...source type when including files, they will be found here. By default this is ./...
  • smarty.constants
    ...cation of the Smarty class files. If this is not defined in your script, then Sm...
  • advanced.features
    ...ched and compiled template files when you change your security settings. Prev Â...
  • caching.custom
    ...ad, write and clear cached files. Note In Smarty2 this used to be a callback fun...
  • language.function.extends
    ...mplate resources to extend files outside of the $template_dir directory. Note Wh...
  • variable.config.booleanize
    ...ze If set to TRUE , config files values of on/true/yes and off/false/no get conv...
  • api.config.load
    ...ys global in scope. Config files are also compiled for faster execution, and res...
  • api.functions
    ...f directories where config files are stored addPluginsDir() — add a direc...
  • variable.caching
    ...of the templates or config files that are part of this cache are changed. If $fo...
  • smarty.for.programmers
    ...f directories where config files are stored addPluginsDir() — add a direc...
  • caching.cacheable
    ...mpiled and cached template files to force a recompile. Example 15.12. Noca...
  • what.is.smarty
    ...ompiling only the template files that have changed. You can easily create your o...
  • caching.groups
    ...would be like removing the files '/a/b/c/*' . clearCache(null,'a|b') would be li...
  • variable.compile.dir
    ...th is not used for writing files. Technical Note It is not recommended to put th...
  • language.variables
    ...riables loaded from config files {$smarty} reserved variable Request variables {...
  • plugins.naming.conventions
    ... Naming Conventions Plugin files and functions must follow a very specific namin...
  • api.compile.all.config
    ... compiles all known config files Description string  compileAllConfig ( strin...
  • api.display
    ...plate resources to display files outside of the $template_dir directory. ?php //...
  • caching.multiple.caches
    ...ou can have multiple cache files for a single call to display() or fetch() . Let...
  • resources.custom
    ...h PHP: databases, sockets, files, etc. You do this by writing resource plugin fu...
  • language.config.variables
    ...riables loaded from config files Variables loaded from config files variables, l...
  • installing.smarty.extended
    ...quired application library files, and you // can do that right here. An example:...
  • api.set.config.dir
    ...e directories where config files are stored Description Smarty  setConfigDir ...
  • variable.default.config.type
    ...rce type to use for config files. The default value is file , meaning that $smar...
  • index
    ...riables loaded from config files {$smarty} reserved variable Request variables {...
  • language.function.fetch
    ...fetch} is used to retrieve files from the local file system, http, or ftp and di...
  • api.add.config.dir
    ...f directories where config files are stored Description Smarty  addConfigDir ...
  • api.compile.all.templates
    ...function compiles template files found in the $template_dir folder. It uses the ...
  • api.clear.compiled.tpl
    ..., or all compiled template files if one is not specified. If you pass a $compile...
  • language.function.include
    ...ate resources to {include} files outside of the $template_dir directory. Attribu...
  • language.function.include.php
    ...r details. By default, php files are only included once even if called multiple ...
  • variable.config.overwrite
    ...iables read in from config files will overwrite each other. Otherwise, the varia...
  • resources
    ... template resource for the filesystem. The file: is the default resource. The re...
  • variable.compile.check
    ...is enabled, then the cache files will get regenerated if an involved template fi...
  • api.variables
    ...E will enable PHP template files. ?php $smarty- allow_php_templates = true; ? No...
  • api.clear.config
    ... config variables , config files , {config_load} , configLoad() and clearAssign(...
  • api.clear.all.cache
    ...m age in seconds the cache files must be before they will get cleared. ExampleÂ...
  • variable.direct.access.security
    ...ompiled or cached template files. Direct access security is enabled by default. ...
  • api.get.config.dir
    ...the directory where config files are stored Description string|array  getConf...
  • variable.cache.id
    ...ou can have multiple cache files for a single call to display() or fetch() depen...