jReviews Support Forum

jReviews 2.x => Themes => Topic started by: chtrede on December 02, 2008, 05:07:10 AM



Title: Standard "comment" field in review - How to add tooltip?
Post by: chtrede on December 02, 2008, 05:07:10 AM
How can I add a tooltip to the standard comment field given in a  review? I want to give the reviewer a little more information what he/she could write.

Thanks
Christian


Title: Re: Standard "comment" field in review - How to add tooltip?
Post by: Alejandro on December 02, 2008, 03:46:48 PM
I haven't tested it, but something like this should work:

Code:
<?php $this->Html->image($this->viewImages 'information.png',array('title'=>'Your comment tooltip text goes here','style'=>'margin: 0 4px 0 4px;'));?>


Title: Re: Standard "comment" field in review - How to add tooltip?
Post by: chtrede on December 03, 2008, 04:20:18 AM
Hi Aljeandro,

thanks, but all these tips help me (as a newbie) not at all if I do not know about which files we talk or where I have to implement the code!

Thanks
Christian


Title: Re: Standard "comment" field in review - How to add tooltip?
Post by: Alejandro on December 03, 2008, 06:21:58 AM
Did you watch the theme video tutorials or read the "theme engine" knowledge base article? The location of the the files is a bit intuitive.

/jreviews/views/themes/[theme_folder]/reviews/create.thtml