Loading...
 
Skip to main content

Features / Usability


Re: Integrating content from database

posts: 17

I've been playing about with setting up a new Feature using FeatureCreationDev as a guideline.

I created my feature: tiki-email.php
created a template file: ./templates/tiki-email.tpl

and inserted

(it won't let me include the code here, but it's basically what's quoted in FeatureCreationDev)

into ./template/tiki-admin-include-features.tpl

and inserted

"feature_email",

into

$features_toggles = array(
.....
);

===
But I'm getting parsing errors:

Parse error: parse error, unexpected $ in /var/www/html/tiki/templates_c/en/%%198/%%1989249160/tiki-admin-include-features.tpl.php on line 718

and

Parse error: parse error, unexpected $ in /var/www/html/tiki/templates_c/en/%%405/%%405324798/tiki-email.tpl.php on line 15

(I've entered 'feature_email', 'y' into the the tiki-preferances table of the database as well)

I can't for the life of me work out what's missing!

Cheers,
ewan

There are no comments at this time.