Do you support the Smarty PHP template engine?
Yes. You can use the Smarty template engine on Ruachost hosting.
Smarty keeps your PHP code separate from your HTML. Your PHP handles the data, and Smarty templates (.tpl files) handle how the page looks. This makes larger sites easier to maintain and lets designers edit templates without touching PHP.
How to install Smarty
Section titled “How to install Smarty”Choose one of these:
-
Softaculous: install Smarty from cPanel in a few clicks. See Installing Smarty using Softaculous.
-
Composer: add it to your project over SSH:
Terminal window composer require smarty/smartySee Installing Composer.
Some applications, such as PrestaShop, already include Smarty. See Clearing the Smarty cache in PrestaShop.
For documentation, visit the official Smarty website.
Was this page helpful?
Thanks for your feedback.