HI !
In the previous version of K2 2.6.6, I had customized the user.php view to accommodate both the item's rating and extrafields, and it worked just fine.
But now that I've updated to K2 2.6.7 my customizations don't work anymore and I can't figure out why ????
Anyone got any ideas they could throw my way as to why ?
(if don't know php I doubt you'll be able to answer this one)
Thx in advance.
In the previous version of K2 2.6.6, I had customized the user.php view to accommodate both the item's rating and extrafields, and it worked just fine.
But now that I've updated to K2 2.6.7 my customizations don't work anymore and I can't figure out why ????
Anyone got any ideas they could throw my way as to why ?
(if don't know php I doubt you'll be able to answer this one)
Thx in advance.
Topic Author
13 years 2 months ago #117363
Ok, I've managed to get the extrafields and the number of votes (3 votes) buy adding this to the item.php model in the if statements on line 181 and 193, like so:
Topic Author
13 years 2 months ago #117365
Hey Krikor !
Thanks for heeding to my call once again .
Here's a screenshot so you can see what it is I'm trying to explain.
Peace.
Thanks for heeding to my call once again .
Here's a screenshot so you can see what it is I'm trying to explain.
Attachment not found
Peace.
13 years 2 months ago #117366
I can see the votes are counted so this is possibly a CSS thing. You can use your browser's developer tools to check if the ul and li elements of the ratings is properly styled.
Topic Author
13 years 2 months ago #117367
Hey Krikor;
It wasn't a styling thing, it was human error (on my part);
as I finally figured it out !!
I wish I could explain how, but it seems like somehow re-uploading the user.php file to my html/com_k2/templates/ worked !
Sorry for wasting your time on this.
But at least, if anyone wants to know how to do this sort of thing, they can get a good idea of how to do it here.
Thanks again K.
Peace.
It wasn't a styling thing, it was human error (on my part);
as I finally figured it out !!
I wish I could explain how, but it seems like somehow re-uploading the user.php file to my html/com_k2/templates/ worked !
Sorry for wasting your time on this.
But at least, if anyone wants to know how to do this sort of thing, they can get a good idea of how to do it here.
Thanks again K.
Peace.
13 years 2 months ago #117368
You 're welcome and some users will benefit from this post so it's never a waste of time :)
Log in or create an account to reply.