Jump to content

Using Smarty (template/presentation Framework)


Recommended Posts

1) Does the TCH servers are configured to support Smarty? (What is Smarty?)


2) How do I know where is the location of the Smarty libs? (I have tried with phpinfo but I didnt find anything.)


$this->compile_dir = 'c:/XXX/smarty/templates_c';

$this->cache_dir = 'c:/XXX/smarty/cache';



Thank you.

Link to comment
Share on other sites

I looked into this a long time ago and I believe the answers to your question are:


1- TCH servers can handle Smarty because it's a PHP templating engine and TCH servers run PHP. But Smarty is not something that is normally pre-installed on a server. You can open a ticket to request, but I have no guess as to what your odds are.


2- You can install Smarty on your server as any script and either use php_iniset() - I think that's the function - to set the default include directory or you can change other aspects of your code so the Smarty template engine code is called.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...