Closed (fixed)
Project:
Advanced Forum
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2011 at 17:45 UTC
Updated:
7 Jun 2011 at 15:11 UTC
Below each forum post, where it should show only the Delete, Edit, and Reply buttons... I have a delete, edit, and reply following each of the buttons.
Tested on both Firefox3 and IE8.
Had to edit advanced_forum.module, line 467 to fix the display issue.
From: $links[$key]['title'] = '' . $links[$key]['title'] . '';
Change to: $links[$key]['title'] = '' . $links[$key]['title'] . '';
Screenshots are attached.
| Comment | File | Size | Author |
|---|---|---|---|
| after.gif | 30.37 KB | drupaljack | |
| before.gif | 32.62 KB | drupaljack |
Comments
Comment #1
drupaljack commentedLOL, the < span > tags in the above posts have been stripped.
It should have read...
Below each forum post, where it should show only the Delete, Edit, and Reply buttons... I have a < span >delete< span >, < span >edit < span >, and < span >reply< span > following each of the buttons.
Tested on both Firefox3 and IE8.
Had to edit advanced_forum.module, line 467 to fix the display issue.
From: $links[$key]['title'] = '< span >' . $links[$key]['title'] . '< span >';
Change to: $links[$key]['title'] = '' . $links[$key]['title'] . '';
Please see the above screenshots for details.
Comment #2
michelleThe spans are supposed to be there but they are supposed to be in the HTML, not printed on the screen. You have icons by your links which leads me to believe this is a theme interference. What theme are you using?
Michelle
Comment #3
drupaljack commentedHi Michelle, thank you for Advanced Forum!
I'm using the Silver Bells theme for the forum.
Comment #4
michelleNo, not the AF style. What site theme are you using? The site theme comes last and can mess up the AF style if it tries to affect the same item. That's likely what's happening here.
Michelle
Comment #5
drupaljack commentedOwn custom theme. Should I turn off mytheme/template.php to test?
Comment #6
michelleWell, look at the code you wrote to add the icons to the links and be sure it isn't turning HTML off on them. Which doesn't make a lot of sense if you're adding images but it's all I can think of right now.
Michelle
Comment #7
drupaljack commentedYou are brilliant, Michelle!
Indeed, a set of codes in my template.php was the cause.
No need to hack advanced_forum.module anymore, hooray! :-)
Comment #8
michelleWhew! I'm glad you found it because I was baffled. I hate not being able to answer stuff in my queue knowing that if I can't answer there's a good chance no one else will be able to, either. :( (Not being arrogant... Just that there aren't many that know AF in depth so it's often me or no one)
Michelle
Comment #10
filiptc commentedI had the same issue. Instead of displaying the tag, the link icons where duplicated as the code had one span tag inside of another... I fixed it temporarily by hacking into the .module as proposed in #1. Will look into the *right* way of fixing this. ;)