Is it possible to defining arrays in config files in smarty?? for example I want have small data base in config file (located in /configs) – few (about 20) products descriptions: title, price, description. After that I want to list it via foreach or section.
How can I define that array in Smarty without MySql or other db engine. Can I do that?
Is it possible to defining arrays in config files in smarty?? for example I
Share
You can define arrays in config file, you need to set $config_overwrite = FALSE.
you can look at this page: config_overwrite
The config file.
The template with a {section} loop.