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

  • language.syntax.functions
    ...‚  Chapter 3. Basic Syntax   Next Functions Every Smarty tag either pr...
  • language.syntax.variables
    ...‚  Chapter 3. Basic Syntax   Next Variables Template variables start w...
  • language.syntax.quotes
    ...‚  Chapter 3. Basic Syntax   Next Embedding Vars in Double Quotes Smar...
  • language.syntax.attributes
    ...‚  Chapter 3. Basic Syntax   Next Attributes Most of the functions tak...
  • language.basic.syntax
    ... Chapter 3. Basic Syntax Chapter 3. Basic Syntax chapter, 3, basic, ...
  • installing.smarty.basic
    ...e file and turn on special syntax highlighting. Now lets edit index.php . We'll ...
  • language.variables.smarty
    ...sed with the new {foreach} syntax, but is still supported with Smarty 2.x style ...
  • smarty.for.designers
    ...Table of Contents 3. Basic Syntax Comments Variables Functions Attributes Embedd...
  • language.escaping
    ...‚  Chapter 3. Basic Syntax   Next Escaping Smarty Parsing It is someti...
  • language.modifier.regex.replace
    ...le. Use the preg_replace() syntax from the PHP manual. Note Although Smarty supp...
  • language.function.foreach
    ... has a simpler and cleaner syntax than the {section} loop, and can also loop ove...
  • language.function.extends
    ...ontent is ignored. Use the syntax for template resources to extend files outside...
  • troubleshooting
    ...ty: [in index.tpl line 4]: syntax error: unknown tag - '%blah' in /path/to/smart...
  • preface
    ...quick and easy to maintain syntax easy to understand, no PHP knowledge necessary...
  • language.math
    ...‚  Chapter 3. Basic Syntax   Next Math Math can be applied directly to...
  • advanced.features.static.classes
    ...access static classes. The syntax is the same as in PHP. Note Direct access to P...
  • what.is.smarty
    ...e template {delimiter} tag syntax, so you can use {$foo} , {{$foo}} , !--{$foo}-...
  • language.function.if
    ...able. Qualifier Alternates Syntax Example Meaning PHP Equivalent == eq $a eq $b ...
  • language.variables
    ...ndex, much like native PHP syntax. Example 4.4. Accessing arrays by index ...
  • language.function.setfilter
    ...stance's variable filters. SYNTAX: {setfilter filter1|filter2|filter3....}...{/s...
  • api.display
    ... resource examples Use the syntax for template resources to display files outsid...
  • language.function.literal
    ...ith the template delimiter syntax. Anything within {literal}{/literal} tags is n...
  • config.files
    ... Example of config file syntax # global variables pageTitle = "Main Menu" bod...
  • language.config.variables
    ...$smarty.config . The later syntax is useful for embedding into quoted attribute ...
  • language.modifier.string.format
    ... numbers and such. Use the syntax for sprintf() for the formatting. Parameter Po...
  • resources.streams
    ...s a template resource. The syntax is much the same a traditional template resour...
  • index
    ...emplate Designers 3. Basic Syntax Comments Variables Functions Attributes Embedd...
  • advanced.features.objects
    ..., then use access them via syntax similar to custom functions . The other way is...
  • language.function.while
    ...able. Qualifier Alternates Syntax Example Meaning PHP Equivalent == eq $a eq $b ...
  • language.function.include
    ...ncludung template. Use the syntax for template resources to {include} files outs...
  • language.function.section
    ...d has a simpler and easier syntax. It is usually preferred over the {section} lo...
  • resources
    ...3.1 introduced the bracket-syntax for specifying an element from $template_dir ....