let admin set jrating visibility (teaser+body or body only) for each content type

igorik - July 19, 2007 - 09:21
Project:jRating
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:hickory
Status:active
Description

hi!

thanks for your great module.
please, add option for each content type to set visibility of jrating bar

now there is option for each content type to enable jrating only, but option for select showing jrating bar (teaser + body, or body only) is missing, and it is realy usefull option.

thanks
Igor
somvprahe.sk

#1

hickory - July 19, 2007 - 09:34

Hi Igor - could you explain a bit more what you mean, as I don't completely understand. In particular, which bit do you mean by the 'jrating bar'?

#2

igorik - July 19, 2007 - 09:46

hi
sorry for my english.
I mean rating widget.
Current state is that, I can set option "Display rating widget for teasers" but it is for all content types.
I would like to have this option in each content type, so I can choose Display rating widget for teasers - yes for poetry (in poetry content type settings), but no for blogs (in blog content type settings).

Thanks
Igor
somvprahe.sk

#3

hickory - July 19, 2007 - 09:48
Assigned to:Anonymous» hickory

I see. Ok, I'll look into making that preference per content-type.

#4

hickory - November 21, 2007 - 14:42

I was thinking about this more today, but it adds lots of complexity to the configuration (either system-wide settings that can be overridden by individual content type settings, or have to go through all content-types to set the preferences). Would it be easier to hide the rating widget with CSS for content types where you don't want it displayed?

#5

BradM - January 12, 2008 - 20:22

I just started using jrating and think it's great! But I agree that there's got to be some way to activate/deactivate in both teaser and node body.

CSS might be the easiest workaround, but there's already a switch to activate it per content type, so why not add a second switch for node body only? Obviously not a programmer here but as a user it would make more sense to have both options per content type.

 
 

Drupal is a registered trademark of Dries Buytaert.