I have made a couple of bug fixes to the News Box Manager contribution so that now all output is XHTML compliant. I will update the archive in the downloads area in the near future but for now I will post just the changes made for XHTML compliancy.
In the file includes/templates/YOUR_TEMPLATE/sideboxes/tpl_news_scroll_box.php locate the line that says:
Code:
$box_news_content[$i] = $display_news;
and replace it with:
Code:
$box_news_content[$i] = str_replace('</','<\/' , $display_news);
locate the line that says:
Code:
document.write(\'<div id="fscroller" class="ScrollerFrame" style="overflow:\'+foverflow+\';width:\'+fwidth+\';height:\'+fheight+\'"></div>\')
and replace with:
Code:
document.write(\'<div id="Scrollertitle"><\/div><div id="fscroller" class="ScrollerFrame" style="overflow:\'+foverflow+\';width:\'+fwidth+\';height:\'+fheight+\'"/>\')
In the file includes/languages/english/YOUR_TEMPLATE/more_news.php
Locate the block that says:
Code:
<table cellpadding="0px" cellspacing="30px" border="0px" height="100%" width="100%">
<tr>
<td valign=top width="100%" height="100%">
<table cellpadding="0px" cellspacing="0px" border="0px">
and replace with:
Code:
<table cellpadding="0" cellspacing="30" border="0" width="100%">
<tr>
<td valign=top width="100%" height="100%">
<table cellpadding="0" cellspacing="0" border="0">
This should assure all news output is XHTML compliant.
Enjoy!
Jeff
Bookmarks