1) Does the TCH servers are configured to support Smarty? (<a href="http://smarty.php.net" target="_blank">What is Smarty?</a>)<br /><br />2) How do I know where is the location of the Smarty libs? (I have tried with phpinfo but I didnt find anything.)<br /><br />$this->compile_dir = 'c:/XXX/smarty/templates_c';<br />$this->cache_dir = 'c:/XXX/smarty/cache';<br /><br /><br />Thank you.<!--content-->
I looked into this a long time ago and I believe the answers to your question are:<br /><br />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.<br /><br />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.<!--content-->
Hello and welcome to the forums!,<br /><br />phpBB uses smarty templating (or at least a form of it) and it works just fine here at TCH<br /><br />JimE<!--content-->
Welcome to the forum, FR6. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Welcome to the forums FR6 <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Welcome to the forums FR6 <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Thank you to everyone! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
I looked into this a long time ago and I believe the answers to your question are:<br /><br />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.<br /><br />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.<!--content-->
Hello and welcome to the forums!,<br /><br />phpBB uses smarty templating (or at least a form of it) and it works just fine here at TCH<br /><br />JimE<!--content-->
Welcome to the forum, FR6. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Welcome to the forums FR6 <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Welcome to the forums FR6 <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Thank you to everyone! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->