Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've been using the Rate module to add voting widgets to my forum posts for a while now, and works fine. However, after recently adding the Author Pane module, I noticed that it causes the Rate voting widgets to be displayed improperly.
There is descriptive text that is displayed below the Voting widget like, ("Only you have voted"), and normally this text appears immediately below the voting button.
With Author Pane enabled, the descriptive text is pushed down below the bottom margin of the Author Pane. See attached screenshot.
Comment | File | Size | Author |
---|---|---|---|
author-pane-rate-forum-issue.png | 10.82 KB | davidcsonka |
Comments
Comment #1
MichelleUnless there's some bad markup in AP that's causing a problem, an incompatibility between modules is not a bug. If your site is public, a link is better than a screenshot so we can poke at it with Firebug. If not, it's going to be harder to help you unless some who uses the Rate module jumps in to help.
Comment #2
davidcsonka CreditAttribution: davidcsonka commentedIt wasn't my intention to disparage the module, but there aren't many choices when selecting the reason for the issue.
Anyway,
I think I've managed to solve the problem with copious amounts of custom CSS, vis-a-vis floats and margins (on the contents of the main Forum body area).
I believe the problem occurred because the div containing the Author Pane is (for lack of better terminology) pushing over into the Forum body div. A "clear:both;" causes the Rate widgets elements to be pushed below the bottom extent of the Author Pane.
I suppose this might be a limitation of how the forum content type is displayed within the context of HTML.
Either way, Rate and voting widgets are commonly used in Forum, so I figured it might be relevant to others, and important enough to share.
Comment #3
MichelleI didn't take offense; I just don't consider it to be a bug when two modules have interoperability issues, unless there is something actually wrong with one of the modules that is causing the problem. Getting them working together is certainly ideal and I'm not dismissing the issue, just adjusting the category. :)
My CSS skills are mediocre at best, unfortunately, so I need an actual live example to poke at to try and fix things. I'll leave this active for a while and see if maybe someone else is able to jump on it and either adjust the AP CSS or document how to work around the issue.
Michelle
Comment #4
Leeteq CreditAttribution: Leeteq commentedSetting as feature request instead of support, to invite contributions to a possible solution.