Roundcube Community Forum

 

php in templates

Started by markybob, January 10, 2009, 11:01:42 PM

Previous topic - Next topic

markybob

is it possible to have php code in the template?

rosali

./config/main.inc.php:

// includes should be interpreted as PHP files
$rcmail_config['skin_include_php'] = TRUE;

I have it never tried ...
Regards,
Rosali

markybob

Quote from: rosali;16220./config/main.inc.php:

// includes should be interpreted as PHP files
$rcmail_config['skin_include_php'] = TRUE;

I have it never tried ...

hrm...doesnt seem to do anything here.  still doesnt get interpreted.  any other thoughts?

rosali

Works for me ...

You can't place php code directly in the template, but you can include php scripts if setting is true:

Regards,
Rosali

markybob

Quote from: rosali;16222Works for me ...

You can't place php code directly in the template, but you can include php scripts if setting is true:


ah, i see.  thanks :)