Hi

I'm using Node style version 5.x-2.1 and a slightly customized spreadfirefox theme. As it did not work out of the box for me, I've been reading all issues, the readme file and style_node.inc file. I have also set all themes as compatible under build/node style/settings.

I am at the stage where i have renamed _phptemplate_variables_theme_key() to _phptemplate_variables_spreadfirefox(). Then I'm supposted to "add this function to the template.php file". I have tried this, but think I'm doing it wrong. Does anyone know what I should add?

Any suggestions?

Comments

mlsamuelson’s picture

I am at the stage where i have renamed _phptemplate_variables_theme_key() to _phptemplate_variables_spreadfirefox(). Then I'm supposted to "add this function to the template.php file". I have tried this, but think I'm doing it wrong. Does anyone know what I should add?

It sounds like this is where you're going wrong. By default, there is no template.php file (which is where the _phptemplate_variables() function would reside) in the SpreadFirefox theme. So you don't need to worry about any of that unless you've had cause to add _phptemplate_variables(). If you have, then just rename _phptemplate_variables to _phptemplate_variables_spreadfirefox in the template.php file and that should do it.

Then, to enable the module, you must go to http://yoursite.com/admin/build/node_style/configure and click the checkbox to confirm your theme is now compatible, and submit. Now you can create a scheme at /admin/build/node_style.

mlsamuelson

Zen’s picture

Status: Active » Fixed

Cleaning up the issue queue - no reply from user; marking as fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)