PDA

View Full Version : big problem with template


Karkar
05-24-2007, 05:49 AM
I seem to have made some sort of mistake. The links I have that are apart of my site's template have screwed up when i made a change to the links i made in FW.

In the code of the template for the links it is normal... <a href="index.html" etc etc... but in the code of the actual website pages, the template code is changed to <a href="Template/index.html why is it doing thid and how can i change it???????

edbr
05-24-2007, 06:05 AM
look in your template.Is the link /index.html or index.html

Karkar
05-24-2007, 06:08 AM
tis just index.html, aboutus.html, perspectives.html etc etc

Karkar
05-24-2007, 06:27 AM
This is parts of template

</script>
</head>
<body bgcolor="#ffffff" onload="MM_preloadImages('buttons/homebut_f2.jpg','buttons/aboutbut_f2.jpg','buttons/activbut_f2.jpg','buttons/photosbut_f2.jpg','buttons/palbut_f2.jpg','buttons/persbut_f2.jpg','buttons/globbut_f2.gif','buttons/rssbut_f2.gif','buttons/linksbut_f2.jpg','buttons/mybuts2_r13_c2_f2.jpg','buttons/contbut_f2.jpg','buttons/mybuts2_r14_c2_f2.jpg');">
<table border="0" align="center" cellspacing="0" cellpadding="0" width="800">
<tr>
<td width="153" bgcolor="#000000"><img src="../Images/logo67.jpg" alt="67 logo" width="153" height="151" /></td>
<td width="13" valign="top" bgcolor="#000000">&nbsp;</td>

<td width="584" align="right" valign="top" bgcolor="#000000"><p align="center" class="style1 style10"><span class="style15">F</span><span class="style14">REE </span><span class="style15">P</span><span class="style14">ALESTINE</span> </p>
<p align="center" class="style2">End Israel's Occupation: 40 years too many</p> </td>
</tr>
<tr>
<td rowspan="4" valign="top" bgcolor="#000000">
<table border="0" cellpadding="0" cellspacing="0" width="153">
<!-- fwtable fwsrc="mybuts2.png" fwbase="mybuts2.gif" fwstyle="Dreamweaver" fwdocid = "1126465761" fwnested="0" -->
<tr>
<td colspan="2"><img name="mybuts2_r1_c1" src="../Images/buttons/mybuts2_r1_c1.gif" width="153" height="1" border="0" id="mybuts2_r1_c1" alt="" /></td>
</tr>
<tr>
<td rowspan="9"><img name="mybuts2_r2_c1" src="../Images/buttons/mybuts2_r2_c1.gif" width="1" height="393" border="0" id="mybuts2_r2_c1" alt="" /></td>
<td><img name="space1" src="../Images/buttons/space1.gif" width="152" height="69" border="0" id="space1" alt="" /></td>
</tr>
<tr>
<td><a href="index.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('homebut','','../Images/buttons/homebut_f2.jpg',1);"><img name="homebut" src="../Images/buttons/homebut.jpg" width="152" height="42" border="0" id="homebut" alt="Home" /></a></td>
</tr>
<tr>
<td><a href="aboutus.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('aboutbut','','../Images/buttons/aboutbut_f2.jpg',1);"><img name="aboutbut" src="../Images/buttons/aboutbut.jpg" width="152" height="52" border="0" id="aboutbut" alt="About WFP" /></a></td>
</tr>
<tr>
<td><a href="activities.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('activbut','','../Images/buttons/activbut_f2.jpg',1);"><img name="activbut" src="../Images/buttons/activbut.jpg" width="152" height="45" border="0" id="activbut" alt="Activities" /></a></td>
</tr>
<tr>
<td><a href="photos.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('photosbut','','../Images/buttons/photosbut_f2.jpg',1);"><img name="photosbut" src="../Images/buttons/photosbut.jpg" width="152" height="45" border="0" id="photosbut" alt="Photos" /></a></td>
</tr>
<tr>
<td><img name="mybuts2_r7_c2" src="../Images/buttons/mybuts2_r7_c2.gif" width="152" height="1" border="0" id="mybuts2_r7_c2" alt="" /></td>
</tr>
<tr>
<td><a href="palestine.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('palbut','','../Images/buttons/palbut_f2.jpg',1);"><img name="palbut" src="../Images/buttons/palbut.jpg" width="152" height="45" border="0" id="palbut" alt="Palestine" /></a></td>
</tr>
<tr>
<td><a href="perspectives.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('persbut','','../Images/buttons/persbut_f2.jpg',1);"><img name="persbut" src="../Images/buttons/persbut.jpg" width="152" height="50" border="0" id="persbut" alt="Perspectives" /></a></td>
</tr>
<tr>
<td><a href="globalaction.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('globbut','','../Images/buttons/globbut_f2.gif',1);"><img name="globbut" src="../Images/buttons/globbut.gif" width="152" height="44" border="0" id="globbut" alt="Global Action" /></a></td>
</tr>
<tr>
<td colspan="2"><a href="feeds.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('rssbut','','../Images/buttons/rssbut_f2.gif',1);"><img name="rssbut" src="../Images/buttons/rssbut.gif" width="153" height="46" border="0" id="rssbut" alt="RSS feeds" /></a></td>
</tr>
<tr>
<td><img name="mybuts2_r12_c1" src="buttons/mybuts2_r12_c1.gif" width="1" height="43" border="0" id="mybuts2_r12_c1" alt="" /></td>
<td><a href="links.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('linksbut','','../Images/buttons/linksbut_f2.jpg','mybuts2_r13_c2','','buttons/mybuts2_r13_c2_f2.jpg',1);"><img name="linksbut" src="../Images/buttons/linksbut.jpg" width="152" height="43" border="0" id="linksbut" alt="Links" /></a></td>
</tr>
<tr>
<td rowspan="2"><a href="contactus.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('contbut','','buttons/contbut_f2.jpg','mybuts2_r13_c2','','buttons/mybuts2_r13_c2_f2.jpg','mybuts2_r14_c2','','../Images/buttons/mybuts2_r14_c2_f2.jpg',1);"><img name="contbut" src="../Images/buttons/contbut.jpg" width="1" height="43" border="0" id="contbut" alt="Contact Us" /></a></td>



_______________________________________________

This is part of page with applied template

</script>
</head>
<body bgcolor="#ffffff" onload="MM_preloadImages('Templates/buttons/homebut_f2.jpg','Templates/buttons/aboutbut_f2.jpg','Templates/buttons/activbut_f2.jpg','Templates/buttons/photosbut_f2.jpg','Templates/buttons/palbut_f2.jpg','Templates/buttons/persbut_f2.jpg','Templates/buttons/globbut_f2.gif','Templates/buttons/rssbut_f2.gif','Templates/buttons/linksbut_f2.jpg','Templates/buttons/mybuts2_r13_c2_f2.jpg','Templates/buttons/contbut_f2.jpg','Templates/buttons/mybuts2_r14_c2_f2.jpg');">
<table border="0" align="center" cellspacing="0" cellpadding="0" width="800">
<tr>
<td width="153" bgcolor="#000000"><img src="Images/logo67.jpg" alt="67 logo" width="153" height="151" /></td>
<td width="13" valign="top" bgcolor="#000000">&nbsp;</td>

<td width="584" align="right" valign="top" bgcolor="#000000"><p align="center" class="style1 style10"><span class="style15">F</span><span class="style14">REE </span><span class="style15">P</span><span class="style14">ALESTINE</span> </p>
<p align="center" class="style2">End Israel's Occupation: 40 years too many</p> </td>
</tr>
<tr>
<td rowspan="4" valign="top" bgcolor="#000000">
<table border="0" cellpadding="0" cellspacing="0" width="153">
<!-- fwtable fwsrc="mybuts2.png" fwbase="mybuts2.gif" fwstyle="Dreamweaver" fwdocid = "1126465761" fwnested="0" -->
<tr>
<td colspan="2"><img name="mybuts2_r1_c1" src="Images/buttons/mybuts2_r1_c1.gif" width="153" height="1" border="0" id="mybuts2_r1_c1" alt="" /></td>
</tr>
<tr>
<td rowspan="9"><img name="mybuts2_r2_c1" src="Images/buttons/mybuts2_r2_c1.gif" width="1" height="393" border="0" id="mybuts2_r2_c1" alt="" /></td>
<td><img name="space1" src="Images/buttons/space1.gif" width="152" height="69" border="0" id="space1" alt="" /></td>
</tr>
<tr>
<td><a href="Templates/index.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('homebut','','Images/buttons/homebut_f2.jpg',1);"><img name="homebut" src="Images/buttons/homebut.jpg" width="152" height="42" border="0" id="homebut" alt="Home" /></a></td>
</tr>
<tr>
<td><a href="Templates/aboutus.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('aboutbut','','Images/buttons/aboutbut_f2.jpg',1);"><img name="aboutbut" src="Images/buttons/aboutbut.jpg" width="152" height="52" border="0" id="aboutbut" alt="About WFP" /></a></td>
</tr>
<tr>
<td><a href="Templates/activities.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('activbut','','Images/buttons/activbut_f2.jpg',1);"><img name="activbut" src="Images/buttons/activbut.jpg" width="152" height="45" border="0" id="activbut" alt="Activities" /></a></td>
</tr>
<tr>
<td><a href="Templates/photos.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('photosbut','','Images/buttons/photosbut_f2.jpg',1);"><img name="photosbut" src="Images/buttons/photosbut.jpg" width="152" height="45" border="0" id="photosbut" alt="Photos" /></a></td>
</tr>
<tr>
<td><img name="mybuts2_r7_c2" src="Images/buttons/mybuts2_r7_c2.gif" width="152" height="1" border="0" id="mybuts2_r7_c2" alt="" /></td>
</tr>
<tr>
<td><a href="Templates/palestine.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('palbut','','Images/buttons/palbut_f2.jpg',1);"><img name="palbut" src="Images/buttons/palbut.jpg" width="152" height="45" border="0" id="palbut" alt="Palestine" /></a></td>
</tr>
<tr>
<td><a href="Templates/perspectives.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('persbut','','Images/buttons/persbut_f2.jpg',1);"><img name="persbut" src="Images/buttons/persbut.jpg" width="152" height="50" border="0" id="persbut" alt="Perspectives" /></a></td>
</tr>
<tr>
<td><a href="Templates/globalaction.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('globbut','','Images/buttons/globbut_f2.gif',1);"><img name="globbut" src="Images/buttons/globbut.gif" width="152" height="44" border="0" id="globbut" alt="Global Action" /></a></td>
</tr>
<tr>
<td colspan="2"><a href="Templates/feeds.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('rssbut','','Images/buttons/rssbut_f2.gif',1);"><img name="rssbut" src="Images/buttons/rssbut.gif" width="153" height="46" border="0" id="rssbut" alt="RSS feeds" /></a></td>
</tr>

edbr
05-24-2007, 06:53 AM
to be honest I cant remember the solution to this it is in the set up of the template. but change the ink from index.html to ../index.html and apply change files based on this template

Karkar
05-25-2007, 03:20 AM
awesome thanks