Get Smarty


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

Buy cheap glasses from and save up to 80%.

Where to buy prescription glasses? is your best choice!

Visit for cheap soccer cleats, sneakers and Soccer Jerseys updates



{ldelim} y {rdelim} son usados para escapar delimitadores en el template, en nuestro caso "{" or "}". Usted puede usar solo {literal}{/literal} para escapar bloques de texto. Vea tambien {$smarty.ldelim}.

Example 7.14. {ldelim}, {rdelim}

{* Esto mostrara los delimitadores del template *}

{ldelim}funcname{rdelim} is how functions look in Smarty!


La salida del ejemplo de arriba:

{funcname} is how functions look in Smarty!


Otros ejemplos con algunos javascript

<script language="JavaScript">
function foo() {ldelim}
    ... code ...


esta es la salida

<script language="JavaScript">
function foo() {
    .... code ...


Vea también Escaping Smarty Parsing

No comments for this page.