Hello,
I've got a problem with the Newsflash on my site. It has probably a very easy solution but i just can't find it and have searched on the forum (yes really) and i don't get any further.
I want the Newsflash to display only on the frontpage and not on any other pages. So all of you would suggest editing the component in the backend to show only on the frontpage...
Cool that works, but i still have the tables and borders (like a container) where the Newsflash was supposed to be.
Is there any way to edit the way the newsflash renders or displays on the page?
Here is the code in index.php of the template:
Code:
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1%"><img src="<?php echo $mosConfig_live_site;?>/templates/visualrave/images/visualrave_19.gif" width="15" height="26"></td>
<td width="100%" background="<?php echo $mosConfig_live_site;?>/templates/visualrave/images/visualrave_20.gif"><font color="#FFFFFF">Newsflash</font></td>
<td width="1%"><img src="<?php echo $mosConfig_live_site;?>/templates/visualrave/images/visualrave_22.gif" width="15" height="26"></td>
</tr>
<tr>
<td height="20" background="<?php echo $mosConfig_live_site;?>/templates/visualrave/images/visualrave_35.gif"> </td>
<td valign="top" bgcolor="#666666">
<?php mosLoadModules ( 'top' ); ?>
</td>
<td background="<?php echo $mosConfig_live_site;?>/templates/visualrave/images/visualrave_37.gif"> </td>
</tr>
<tr>
<td height="14" valign="top"><img src="<?php echo $mosConfig_live_site;?>/templates/visualrave/images/visualrave_45.gif" width="15" height="14"></td>
<td valign="top" background="<?php echo $mosConfig_live_site;?>/templates/visualrave/images/visualrave_47.gif"> </td>
<td><img src="<?php echo $mosConfig_live_site;?>/templates/visualrave/images/visualrave_48.gif" width="15" height="14"></td>
</tr>
</table> So the <?php mosLoadModules ( 'top' ); ?> is the part which decides to display or not the content of the newsflash but the container appears always. I want to get rid of the container if the newsflash is set to off.
Any ideas?