I think you and Lisa were trying to install it at the same time, I was just trying to help her fix this issue.
I was the only one actually working on the update. The last file seems to have installed though, so it appears to be fixed.
Yeah, I can add this in for the next release.
it is using the title of the rating, which is a phrase, but it would change the title of the rating if you change it. If you really wanted to you could use the css content tag though after the next version with the id in the class
The navigation tab? Where it says "Post Ratings"? I'd prefer to change it. That is what I was meaning.. hah.
Still would like the other bit as well, the li class.
Oh, I misread your post. It's using the normal dark_post_raings phrase, I can change it to use a separate one in the next version. Until then you can edit library/ExtendPostRating/Listener/CodeEvent.php::navigationTabs() to change the title
<li class="{xen:if '{$ratingId} == {$rating.id}', 'active'}">
<li class="rating_{$rating.id}{xen:if '{$ratingId} == {$rating.id}', ' active'}">
Also, in library/ExtendPostRating/ControllerPublic/PostRating on line 14 replace:
Code:$rating = current($postRatings);
with:
Code:$rating = reset($postRatings);
So it will default to whatever the first rating is, instead of just showing all zeros
Please, no active no displayed!
How did you get out? The Jake changes nothing.
We use essential cookies to make this site work, and optional cookies to enhance your experience.