Closed (fixed)
Project:
Advanced Forum
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2008 at 21:24 UTC
Updated:
20 Jun 2008 at 03:12 UTC
It appears that, in advf-forum-post.tpl.php, the line (#51 in my version) needs to be changed from
<div class="<?php print $postclass ?> forum-comment forum-comment-<?php print $row_class; print $comment->new ? ' comment-new forum-comment-new' : ''; ?>">
to
<div class="<?php print $postclass ? $postclass . ' ' : ''; ?>forum-comment<?php print $row_class ? ' forum-comment-' . $row_class : ''; print $comment->new ? ' comment-new forum-comment-new' : ''; ?>">
in order to generate the correct class markup (especially because $row_class is often an empty string).
'Though I've made multiple CSS mods to use this with the Tapestry theme(s), I like the module and am including it in 3 under-development sites.
Thanks for the nice work ... it's appreciated.
Comments
Comment #1
michelleComitted, thanks. I never noticed the classes were a bit wonky. I guess you can tell I'm not a themer. ;)
Michelle
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.