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.

CommentFileSizeAuthor
after.gif30.37 KBdrupaljack
before.gif32.62 KBdrupaljack

Comments

drupaljack’s picture

LOL, 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.

michelle’s picture

The 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

drupaljack’s picture

Hi Michelle, thank you for Advanced Forum!

I'm using the Silver Bells theme for the forum.

michelle’s picture

No, 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

drupaljack’s picture

Own custom theme. Should I turn off mytheme/template.php to test?

michelle’s picture

Well, 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

drupaljack’s picture

You are brilliant, Michelle!

Indeed, a set of codes in my template.php was the cause.

No need to hack advanced_forum.module anymore, hooray! :-)

michelle’s picture

Status: Needs review » Fixed

Whew! 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

Status: Fixed » Closed (fixed)

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

filiptc’s picture

I 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. ;)