Keyword

K2 2.6.7 rating & extrafields on custom user page

More
10 years 8 months ago - 10 years 8 months ago #117362 by Vseva
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.
Log in  or Create an account to join the conversation.

More
10 years 8 months ago - 10 years 8 months ago #117363 by Vseva
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:
Log in  or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago #117364 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 2.6.7 rating & extrafields on custom user page
Hello Vseva, I will need a link to see the problem.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #117365 by Vseva
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.


Attachment not found




Peace.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago #117366 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 2.6.7 rating & extrafields on custom user page
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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #117367 by Vseva
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.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago #117368 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 2.6.7 rating & extrafields on custom user page
You 're welcome and some users will benefit from this post so it's never a waste of time :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.