Category "smarty"

Can we define variables in `.tpl` files?

In general, if we have a Smarty project we assign variables in .php file, and use the variables in its corresponding .tpl` file. such as: $smarty->assign('

CS-cart - assigning variables into config file

In my CS-cart 4 PHP project I have a Smarty 3 (tpl) view file.. There I have defined one JavaScript function like: <script type="text/javascript">

can I change Svelte delimiter?

I am working on a big project that use Smarty template engine with AngularJs and we need to move out from AngularJs to Svelte. we face a bad problem that the de

Smarty if isset

Okay so I have some PHP code but I have recently changed to smarty. And I was wondering how I convert that PHP code to smarty code. PHP CODE <?php if (iss

Change meta_tags meta_description and meta_name to a custom page which extends page.tpl in Prestashop 1.7

I have a custom module which defines a custom page in Prestashop. It consist on a template which extendes page.tpl and a front controller. I would like to unde