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 "include"

  • language.function.include
    ... {include} {include} , ldelim, include, rdelim, {include} Prev   Chapter 7...
  • language.function.include.php
    ... {include_php} {include_php} , ldelim, include_php, rdelim, {include_php} Prev Ã...
  • variable.use.include.path
    ... $use_include_path $use_include_path , use_include_path $use_include_path Prev Ã...
  • variable.merge.compiled.includes
    ... $merge_compiled_includes $merge_compiled_includes , merge_compiled_includes $me...
  • installing.smarty.basic
    ...y.class.php is not in your include_path , or you do not supply an absolute path ...
  • api.get.tags
    ... 14.29. getTags() ?php include('Smarty.class.php'); $smarty = new Smarty; //...
  • language.function.php
    ...irectly from the template. include('/path/to/display_weather.php'); {/php} Examp...
  • api.template.exists
    ...ple uses $_GET['page'] to {include} a content template. If the template does not...
  • language.syntax.functions
    ..._load file="colors.conf"} {include file="header.tpl"} {insert file="banner_ads.t...
  • smarty.for.designers
    ...ion} {if},{elseif},{else} {include} {include_php} {insert} {ldelim},{rdelim} {li...
  • api.create.template
    .... createTemplate() ?php include('Smarty.class.php'); $smarty = new Smarty; //...
  • variable.plugins.dir
    ..., then relative to the PHP include_path. If $plugins_dir is an array of director...
  • language.syntax.quotes
    ...s is useful if you want to include variables with modifiers, plugin or PHP funct...
  • advanced.features.template.inheritance
    ...ions based on subtemplates included with the {include} tag it does have much bet...
  • language.syntax.attributes
    ...function attribute syntax {include file="header.tpl"} {include file="header.tpl"...
  • language.function.config.load
    ...name of the config file to include section string No n/a The name of the section...
  • language.function.eval
    ...epeatedly, consider using {include file="string:{$template_code}"} instead. This...
  • language.basic.syntax
    ...he main logo and stuff *} {include file='header.tpl'} {* Dev note: the $includeF...
  • language.builtin.functions
    ...ion} {if},{elseif},{else} {include} {include_php} {insert} {ldelim},{rdelim} {li...
  • smarty.constants
    ...s/Smarty-v.e.r/libs/'); // include the smarty class, note 'S' is upper case requ...
  • resources.string
    ... within a Smarty template {include file="string:$template_string"} {* compiles f...
  • language.function.foreach
    ...nstead of an array(). ?php include('Smarty.class.php'); $smarty = new Smarty; $d...
  • language.function.extends
    ...rent_file} , make sure you include $parent_file in the $cache_id . Otherwise Sma...
  • tips.passing.vars
    ...o their own templates and {include} them. But what if the header needs to have a...
  • plugins.resources
    ...m within Smarty template: {include file='mysql:extras/navigation.tpl'} See also ...
  • caching.groups
    ...he_id group. This would // include "sports|basketball", or "sports|(anything)|(a...
  • language.function.if
    ...t {function}  Home  {include} ...
  • api.fetch
    ... 14.21. fetch() ?php include('Smarty.class.php'); $smarty = new Smarty; $s...
  • api.compile.all.config
    ...‚ compileAllConfig() ?php include('Smarty.class.php'); $smarty = new Smarty; //...
  • api.display
    ... 14.19. display() ?php include(SMARTY_DIR.'Smarty.class.php'); $smarty = new...
  • language.function.assign
    ... Variables assigned in the included template will be seen in the including templ...
  • resources.custom
    ...m within Smarty template: {include file='mysql:extras/navigation.tpl'} Prev  ...
  • tips.componentized.templates
    ... {$ticker.price} See also {include_php} , {include} and {php} . Prev   Up ÂÂ...
  • resources.streams
    ...e from within a template. {include file="foo:bar.tpl"} Prev   Up   Next St...
  • index
    ...ion} {if},{elseif},{else} {include} {include_php} {insert} {ldelim},{rdelim} {li...
  • language.function.fetch
    ...http redirects, be sure to include a trailing slash on your web page fetches whe...
  • language.modifier.count.characters
    ...termines whether or not to include whitespace characters in the count. ExampleÂ...
  • api.compile.all.templates
    ...compileAllTemplates() ?php include('Smarty.class.php'); $smarty = new Smarty; //...
  • resources
    ...() a template, or when you include a template from within another template, you ...
  • language.function.insert
    ...sert} tags work much like {include} tags, except that {insert} tags are NOT cach...
  • language.function.capture
    ...banner"} {* short-hand *} {include file="get_banner.tpl"} {/capture} {if $smarty...
  • api.create.data
    ...4.17. createData() ?php include('Smarty.class.php'); $smarty = new Smarty; //...