Disable voting in category view?

More
6 years 1 month ago - 6 years 1 month ago #75086 by lipatovroman
Hello!
I have 2 problems.
1. When I use construction for items in category view:
Code:
<a href="test"> <div> <div class="catrating"><?php echo $item->fields["voting"]->display; ?></div> </div </a>

<a href="test"> - does not works. It breakes by voting field.

2. How to disable voting option - and only displays stars in category views?
It breaks <a> and we no need voting option in category view.
Thanks.
Last edit: 6 years 1 month ago by lipatovroman.

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

More
6 years 1 month ago #75122 by micker
maybe we need to have 2 custom html output for expert and dev :
- item
- category
it can be usefull

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
6 years 1 month ago #75131 by lipatovroman

micker wrote: maybe we need to have 2 custom html output for expert and dev :
- item
- category
it can be usefull


I believe we need option to disable voting in category view. So, stars should be just images.

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

More
6 years 1 month ago #75141 by ggppdk
Hello

- the code already supports disabling,
- we also need to disable composite voting (voting based on characteristics Speed, Quality, etc) and only show the star average

Add 2 option for both of the above
by default

1. disable voting in category views
2. show only total average in category views (do not show voting characteristics)

finished but will commit in the evening in both 3.3.x and 3.2.1.16


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
6 years 1 month ago #75142 by lipatovroman

ggppdk wrote: finished but will commit in the evening in both 3.3.x and 3.2.1.16


Hello!
Thank you ver much!
I look forward to!

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

More
6 years 1 month ago #75178 by lipatovroman

ggppdk wrote: Hello
finished but will commit in the evening in both 3.3.x and 3.2.1.16


Hello!
Not yet ready?

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.741 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline