Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: Add new field to jos_jcomments
Pages: [1]   Go Down
  Print  
Author Topic: Add new field to jos_jcomments  (Read 2476 times)
0 Members and 1 Guest are viewing this topic.
proweb
Newbie
*

Karma: 0
Offline Offline

Posts: 3


Email
« on: January 28, 2010, 20:56:50 »

I was searching around the web to find out how to add a new field into the jos_jcomments table.

For example:
<p>
Rating 1:
<select name="rating1" >
<option value="na">n/a</option>
<option value="5">5</option>
<option value="4">4</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="1">1</option>
</select>
</p>

I added this in the tpl_form.php, but have no idea how to save the ratings in my database and display them in the comments.

Can you help me with this? Thanks in advance!
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: January 28, 2010, 22:11:56 »

See here: How to add an additional field in JComments
(sorry this is Google Translation from russian - I've no time to make more correct instruction on English)
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
proweb
Newbie
*

Karma: 0
Offline Offline

Posts: 3


Email
« Reply #2 on: January 29, 2010, 02:40:25 »

Thank you for the quick replay!

I will try to fix it, and if it's working, I will write a tutorial about it on english!

Thanks for the great component! Smiley
Logged
proweb
Newbie
*

Karma: 0
Offline Offline

Posts: 3


Email
« Reply #3 on: January 29, 2010, 03:22:43 »

I solved this problem!

Thank you so much for helping me! Grin

All the best!
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Add new field to jos_jcomments
 
Jump to: