Closed (fixed)
Project:
Advanced Forum
Version:
6.x-2.x-dev
Component:
Styles
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2009 at 00:47 UTC
Updated:
18 Oct 2010 at 21:50 UTC
I'm seeing <span class="image-replace"></span> appearing in the page display text of the node links for reply/edit/delete in forum topics. It is generated by line 78 of advanced_forum_preprocess_node.inc.
Also, the Post Reply text is not completely covered by the image (at the top left).
See attached nodelinks.png for example.
In the topic display, I also see the <span class="image-replace"></span> appear for the New topic link. This one is line 387 of core-overrides.inc
See topiclist.png for example.
| Comment | File | Size | Author |
|---|---|---|---|
| topiclist.png | 58.7 KB | fred0 | |
| nodelinks.png | 34.69 KB | fred0 |
Comments
Comment #1
michelleI have no idea what might cause that. Normally browsers will interpret the HTML, not just display it. Have you found anything out?
Michelle
Comment #2
fred0 commentedI afraid I didn't. Ended up dropping AF from my build.
Comment #3
michelleAh, sorry to hear that. If it becomes an issue again, feel free to re-open. Though I don't know that I have any more to tell you...
Michelle
Comment #4
chucky-x commentedHi Michelle, I have the same problem and I can not solve it. The problem is that it becomes to
<span class="image-replace"></span>within the text node. I would like tohtml_entity_decodethis string but I do not know where to do it. Perhaps you can help to fix this issue.Edit: After testing to decode the html entities back it seems to me that the convertion happens after calling
$variables['forum_links'] = theme('links', $variables['links'], array('class' => 'forum-links'));in advanced_forum_preprocess_forums.incComment #5
chucky-x commentedFound a solution: Remove all
<span class="image-replace"></span>fromincludes/mark-read.inc : line 19, 25and fromadvanced_forum.module : line 423, 727, 815, 829, 850and set up your css style to show button over text like here: (I am not experienced in Drupal or CSS, so it can be wrong)Comment #6
michelleLooks like you found something that works for you.
Michelle