I'm trying to install the "Simple Review" module! I have it all installed but after testing the user review post the stars don't show up?!? The only thing I didn't do with the install was

Copy the stub function yourtheme_comment() to your template.php and replace yourtheme with the name of your theme.

Anyone know how to do this?

Thank you in advance!

Comments

Anonymous’s picture

Title: Copy the stub function?!?!?!?! » Copy the stub function?
Component: Code » Documentation

I also tried to install this module and ran into a similar problem. I am not a programmer but I know enough php to find my way around sometimes however, I was not able to install this module correctly. Here is what I attempted:

In the PHP template Bluemarine theme I set, <?php function bluemarine_comment() ?> in template.php which then produced the error Parse error: syntax error, unexpected ';', expecting '{' in /home/.../themes/bluemarine/template.php on line 1.

I then tried <?php function bluemarine_comment() {} ?> which actually fixed the error, but now the comments do not show up at all when viewing the node.

I think if the actual snippet with the <?php> tags were in the documentation, there would be less confusion for us who are not so PHP savvy.

Any pointers on what exactly to enter into your template.php file would be great.

Thanks for taking the time to create this great module!

txcrew

DennisPwnsJ00’s picture

try bluemarine_comment() ;

sun’s picture

Status: Active » Fixed

I think, all of this is already well documented in the README.txt.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.