19
le="color: #000000"><?php <!-- Start center-center blocks loop --> <{foreach item=block from=$xoops_ccblocks}> <div style="padding: 5px;"> <div class="blockTitle"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="101" height="37" style="background-image: url(<{$xoops_imageurl}><{$block.title|replace:" ":"_"}>_image1.gif; background-repeat: no-repeat;"> </td> <td height="37" style="background-image: url(<{$xoops_imageurl}><{$block.title|replace:" ":"_"}>_image2.gif; background-repeat: repeat-x;"> </td> <td width="114" height="37" style="background-image: url(<{$xoops_imageurl}><{$block.title|replace:" ":"_"}>_image3.gif; background-repeat: no-repeat;"> </td> </tr> </table> </div> <div class="blockContent"><{$block.content}></div> </div> <{/foreach}> <!-- End center-center blocks loop -->
ok, the absolute first thing I would check is that that string replace is producing the proper file name.
try this, in your template file just _echo_ the new file name so you can see what the filename it produces looks like:
try this:
le="color: #000000"><?php <{$xoops_imageurl}><{$block.title|replace:" ":"_"}>_image3.gif
look at the end result and ensure that the proper _case_ is being produced. If your webserver is *nix based, it _is_ case sensative. If the file name your code is producing is not an exact match, case and letters, you've found your problem.