I was testing this on a site with several "books" where most of the book front pages are little more than tables of content. It makes little sense to be able to vote on those pages.

Comments

nancydru’s picture

To answer the inevitable question: No, I have no desire to allow enabling voting on a single node if voting is disabled in general. Further I am coding this in a way (storing in a system variable) that the exception list should not be excessive (probably not over 100 per site).

voxpelli’s picture

Related to #709006: Create hook for access control, It was for situations like this I felt such a solution would be usable - I'm unsure about the exact implementation of it though - some kind of pluggable mechanism for deciding if a button should be shown or not would be good anyway.

nancydru’s picture

You're probably right. We can always split this out later if we go that way.

nancydru’s picture

Status: Active » Patch (to be ported)
nancydru’s picture

Status: Patch (to be ported) » Fixed

Committed to 6.x-2.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.