- Posts: 38
COMMUNITY FORUM
Get numbers in front of Highest Rated? - FIXED
- Kit
- Topic Author
- Offline
- Junior Member
Less
More
12 years 5 months ago - 12 years 5 months ago #65303
by Kit
Get numbers in front of Highest Rated? - FIXED was created by Kit
Hi, I've looked all over not just this board, but google (and came up with one hit, which links to a deleted question, apparently).
I have web experience, but am pretty new to K2 & Joomla, and I cannot for the life of me figure out how to add ranking numbers in front of the results pulled up from the Highest Rated list.
If anyone can help me, I would really REALLY appreciate it. I've been trying to get this for the last few days. :angry:
Thanks!
btw, although I've loaded, unloaded & reloaded joomla & K2 about 5 times, it seems like a really good system, when you get a hang of it.
I have web experience, but am pretty new to K2 & Joomla, and I cannot for the life of me figure out how to add ranking numbers in front of the results pulled up from the Highest Rated list.
If anyone can help me, I would really REALLY appreciate it. I've been trying to get this for the last few days. :angry:
Thanks!
btw, although I've loaded, unloaded & reloaded joomla & K2 about 5 times, it seems like a really good system, when you get a hang of it.
Please Log in or Create an account to join the conversation.
- Kit
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
12 years 5 months ago #65304
by Kit
Replied by Kit on topic Re: How to get numbers in front of Highest Rated?
I don't know if it makes a difference, but I'm using Joomla 2.5.
I think I may be missing something really obvious, but I just can't get this puppy.
Any help is really appreciated! Thanks in advance...
I think I may be missing something really obvious, but I just can't get this puppy.
Any help is really appreciated! Thanks in advance...
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 5 months ago #65305
by william white
Replied by william white on topic Re: How to get numbers in front of Highest Rated?
Havent tried this before
There is a table prefix_k2_rating
Check phpmyadmin and you will find that when you rate an item with stars, a record gets added.
Log in with another user, rate it again and look back to phpmyadmin table
There are columns in the table ItemID,ratingsum, ratingcount, and lastip
Figure out whats happening to the totals when you rate and item and then
You will have to query the table directly for the item id you are working in and display the result you want
There is a table prefix_k2_rating
Check phpmyadmin and you will find that when you rate an item with stars, a record gets added.
Log in with another user, rate it again and look back to phpmyadmin table
There are columns in the table ItemID,ratingsum, ratingcount, and lastip
Figure out whats happening to the totals when you rate and item and then
You will have to query the table directly for the item id you are working in and display the result you want
Please Log in or Create an account to join the conversation.
- Kit
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
12 years 5 months ago #65306
by Kit
Replied by Kit on topic Re: How to get numbers in front of Highest Rated?
Thanks, William
I was hoping for something way easier than querying the table. I'm not great with php. css, however, I rock at. So I fixed the issue with a bit of that:
#k2ModuleBox106 li {list-style:decimal;margin-left:30px;}
added into the template css. It's silly work-around, but it works.
Thanks for the response to let me know that I was going to have to come up with a work around instead of just missing clicking an option.
I was hoping for something way easier than querying the table. I'm not great with php. css, however, I rock at. So I fixed the issue with a bit of that:
#k2ModuleBox106 li {list-style:decimal;margin-left:30px;}
added into the template css. It's silly work-around, but it works.
Thanks for the response to let me know that I was going to have to come up with a work around instead of just missing clicking an option.
Please Log in or Create an account to join the conversation.