AndyB
Well-known member
Hello,
In my new version of Similar Threads, I have the following template code which is working perfectly when viewing a thread:
However if I use the same code when trying to create a new thread, the Preview Tooltip does not work, when I hover over a thread title link the tooltip does not display. Any ideas why in thread view it works but not in thread create?
Thank you.
In my new version of Similar Threads, I have the following template code which is working perfectly when viewing a thread:
Code:
<xen:foreach loop="$similarThreads" value="$thread">
<tr class="dataRow">
<td>
<a href="{xen:link threads/, $thread}"
class="{xen:if $thread.hasPreview, PreviewTooltip}"
data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}">{xen:helper wrap, $thread.title, 50}</a>
</td>
<td>{$thread.nodeTitle}</td>
<td>{xen:datetime $thread.post_date}</td>
</tr>
</xen:foreach>
However if I use the same code when trying to create a new thread, the Preview Tooltip does not work, when I hover over a thread title link the tooltip does not display. Any ideas why in thread view it works but not in thread create?
Thank you.
Last edited: