...
Code Block | ||
---|---|---|
| ||
line 231: 'PHP_HANDLING' => false, |
to:
Code Block | ||
---|---|---|
| ||
line 231: 'PHP_HANDLING' => true, |
change:
Code Block | ||
---|---|---|
| ||
line 238: 'PHP_TAGS' => false, |
to:
Code Block | ||
---|---|---|
| ||
line 238: 'PHP_TAGS' => true, |
change:
Code Block | ||
---|---|---|
| ||
line 202: var $php_handling = SMARTY_PHP_PASSTHRU; |
to:
Code Block | ||
---|---|---|
| ||
line 202: var $php_handling = SMARTY_PHP_ALLOW; |
Make sure not to overwrite your changes with upgrade.
Main Template file
...
Template file rendered when HostBill index.php is called without params is
...
Located in your template directory.
Previewing new template
...
If you're working on new template in separate directory under /templates [ex. /templates/myintegration/ ]dir you don't need to change your current template just to preview your changes. You can add &systemtemplate=myintegration param to url just to change current template for your session.
...
When you've made mistake in Smarty syntax you wont be able to see your template (it will rende blank) - you can enable error reporting in /includes/config.php file of your HostBill to locate where error has been made.
Getting full list of available variables in template
...