environment:
PN 0.750 with XTE, modified theme DCC-Portal (based on PostNukeBlue)
File Name: News-index.htm
Code-snippet:
<td valign=
"top">
<!--
[$preformat.searchtopic
]-->
<div style=
"text-align:right;" class=
"tiny"> <!--
[$info.counter
]--> <!--
[pnml name=_READS
]--></div>
<br /><!--
[$info.hometext
]-->
<br /><span
class=
"note"><!--
[$preformat.notes
]--></span>
<div
class=
"pn-sub">
<br />
<!--
[$preformat.send
]-->
<!--
[$preformat.
print]-->
<a href=
"index.php?module=xFPDF&func=main&plugin=News&sid=<!--[$info.sid]-->" target=
"_blank" />XX
[b
]<img src=
'modules/xFPDF/images/pdf.gif' alt=
'PDF' border=
'0'>
[/b
]XX</a>
<!--
[$preformat.comment
]-->
</div>
<div style=
"text-align:right;">
<!--
[$preformat.readmore
]--> <!--
[if $info.bodytext|count_words gt
0]-->
(<!--
[$info.bodytext|count_words
]--> <!--
[pnml name=_WORDSMORE
]-->
) <!--
[/
if]--></div>
</td>
The PDF-image does not get displayed althouh the xx in front and behind the img-tag do get displayed. It seems as if pnRender does not interpret the img-tag correctly as within the source of the rendered page (when displayed under IE -> Source) has the following code in it:
<a class="pn-normal" href="modules.php?op=modload&name=Recommend_Us&file=index&req=FriendSend&sid=56"><img src="images/global/friend.gif" alt="Send this story to someone" /></a>
<a class="pn-normal" href="print.php?sid=56"><img src="images/global/print.gif" alt="Printer-friendly page" /></a>
<a href="index.php?module=xFPDF&func=main&plugin=News&sid=56" target="_blank" />XX XX</a>
<a class="pn-normal" href="modules.php?op=modload&name=News&file=article&sid=56&mode=thread&order=0&thold=0">Comments?</a>
</div>
<div style="text-align:right;">
<a class="pn-normal" href="modules.php?op=modload&name=News&file=article&sid=56&mode=thread&order=0&thold=0">Read more...</a> (952 More words) </div>
</td>
As you see there is a huge amount of blanks between the two 'xx'. I already tried (the img-tag within the theme) with single and with douple quotation marks, but that does not make any difference.
I read the XTE-docs back and forth but couldnīt find any hint.
The funny thing is, when I do not use te Xanthia Admin-panel to edit the page, but upload the changed
HTML-page via normal ftp the resulting page in first gets displayed correctly but refuses (after a couple of minutes) to do so, resulting in the same missing img on the displayed page.
The other funny thing is, as soon as I change the code using Xanthia admin-panel as follows:
<!--
[$preformat.
print]-->
<img src=
'modules/xFPDF/images/pdf.gif' alt=
'PDF' border=
'0'>
<a href=
"index.php?module=xFPDF&func=main&plugin=News&sid=<!--[$info.sid]-->" target=
"_blank" />XX<img src=
'modules/xFPDF/images/pdf.gif' alt=
'PDF' border=
'0'>XX</a>
<!--
[$preformat.comment
]-->
both PDF-icons get displayed. Weired!!!
Hopefully I explained the problem good enough to understand. Sorry for the message being that long.
TIA for your help!
Kind regards,
Klaus