Hi Tebian,
PHP code placed in the template will not be processed. It is a HTML template, not a PHP script template.
If you can get the part to display within a string then you can do:
PHP side:
require(dirname(__FILE__) . '/SSI.php');
$welcome_ssi = ssi_welcome();
|
HTML side:
[var.welcome_ssi;htmlconv=no;comm;]-
|
If you can get the part to display within a string becasue ssi_welcome() does a echo() , then you can us a sub-template:
sub-template ssi_insert.php:
<?php
require(dirname(__FILE__) . '/SSI.php');
ssi_welcome();
?>
|
HTML side:
[onload;script=ssi_insert;subtpl]
|