Roundcube Community Forum

SVN Releases => SVN Discussion => Topic started by: markybob on January 10, 2009, 11:01:42 PM

Title: php in templates
Post by: markybob on January 10, 2009, 11:01:42 PM
is it possible to have php code in the template?
Title: php in templates
Post by: rosali on January 11, 2009, 02:47:38 AM
./config/main.inc.php:

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

I have it never tried ...
Title: php in templates
Post by: markybob on January 11, 2009, 02:51:11 AM
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?
Title: php in templates
Post by: rosali on January 11, 2009, 03:03:02 AM
Works for me ...

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

Title: php in templates
Post by: markybob on January 11, 2009, 03:04:25 AM
Quote from: rosali;16222
Works 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 :)