Closed (fixed)
Project:
Activity
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2009 at 15:37 UTC
Updated:
2 Apr 2009 at 23:50 UTC
Hi,
Ever since an update several days ago, the user activity block shows a comment form with large text areas and a submit button repeating for each comment. This surely wasn't the intent of that update? Is it a bug? I'm surprised no one else has mentioned it because it has completely broken our sites and we've had to remove the module. Thanks in advance if there is an easy fix.
Thanks,
Christian
Comments
Comment #1
sirkitree commentedPlease see #391770: Optional use of comments
Comment #2
ionchannels commentedThanks, but when I apply that patch it does not alter the block display. The comment fields are still uncollapsed. I tried to create my own block with views, but the activity module doesn't seem to integrate with views. Is there an easy CSS class I could apply to achieve the desired effect? Thanks, Christian
Comment #3
sirkitree commentedYou've set the correct permissions (i.e. to not be able to see the comments) and they still show up? hrm.
Try the themeing change mentioned here then: http://drupal.org/node/355022#comment-1319330
Comment #4
ionchannels commentedNo, I want to be able to allow comments, I just don't want the activity list to have the comment form and submit button always visible in the block. The activity page shows a nice summary of each activity and one can "click to show" the comment form. I want this behavior emulated in the block view. I can see the proper CSS classes being given with the HTML, I don't know why the Comment form is not being autohid in the block view. Any ideas?
Comment #5
sirkitree commentedit seems that the css file is not being loaded for the block.
can you check to make sure that the activity.css file is loaded on the page that you are seeing this malfunction?
Comment #6
sirkitree commentedComment #7
ionchannels commentedInteresting, that's right, activity.css is loaded for the activity page, but not on pages where the block is shown. Is there any way to add this manually? Is that a bug with the block?
Thanks in advance,
Christian
Comment #8
ionchannels commentedI fixed it by adding in the CSS from modules/activity/activity.css into the default css for my theme, but it is just a hack. Is there a way to fix this properly? Thanks, Christian
Comment #9
jaydub commentedplease try out the latest 6.1 -dev snapshots. See if it addresses your issue with the comments form showing by default rather than being hidden.
Note that permissions have been added for viewing and creating comments on activity records so make sure you set permissions as desired for your roles.
Comment #10
ionchannels commentedThanks, that did the trick!
Comment #11
sirkitree commented