PDA

View Full Version : Home Page Links


Jules
28-Feb-2003, 08:49 AM
Hoping someone can help:) I'm using v5.1.6.0.0.33CNNA.

I need to add a .gif image to the bottom centre of our homepage that links to another site. I have found the homepage template within Actinic but not being familiar with html, I don't know where to put it and don't want to botch anything up!

Can someone tell me if this is correct and where to place it within the template?

<a href="loglink.php?cl=www.forparentsbyparents.com" target="_blank"><img src"../design/fpbp.gif" width="159" height="36" border="0">

Thanks in advance,
Jules
(compelete html novice)
www.baby-needs.co.uk

NormanRouxel
28-Feb-2003, 09:27 AM
You'll also need a </a> tag at the end.

<a href="loglink.php?cl=www.forparentsbyparents.com" target="_blank"><img src"../design/fpbp.gif" width="159" height="36" border="0"></a>

If you post the template you want to incude it in then that would help.

Norman

Jules
28-Feb-2003, 09:32 AM
Thanks for replying so quickly:)

I have attached the template as requested

Cheers,
Jules

NormanRouxel
28-Feb-2003, 11:31 AM
Hmmm... The file you attached seems to have an open table. If you look at the line very near the end...

<td align="RIGHT">

This should be (I think)

</tr></table>

anyway if you replace the "<td align="RIGHT">" to become:-

</tr></table>
<center>
<a href="loglink.php?cl=www.forparentsbyparents.com" target="_blank"><img src"../design/fpbp.gif" width="159" height="36" border="0"></a>
</center>

Then that should do it.

Note that you are referring to a php page in your acatalog directory as the referenced page of this link. If you mean to refer to a page on someone elses server you will need the full URL instead of just the filename. E.g.

<a href="http://www.somewhere.com/loglink.php?cl=www.forparentsbyparents.com" target="_blank"><img src"../design/fpbp.gif" width="159" height="36" border="0"></a>

Norman

Jules
03-Mar-2003, 03:53 PM
That's great Norman, thanks - the link works perfectly:)

The only problem I am having now is that the image doesn't appear, I'm getting a small red cross in an empty box (although when you click on the box the link works fine). I can't find where I've gone wrong, the image definately exists but won't load. Do you have any ideas?

Here is the final string:

<center>
<a href="http://www.forparentsbyparents.com/loglink.php?cl=www.forparentsbyparents.com" target="_blank"><img src"../design/fpbp.jpg" width="139" height="103" border="0"></a>
</center>

Sorry to be a pain:(

Jules

NormanRouxel
03-Mar-2003, 05:00 PM
I think you'll have to do

Either.

Put these images in your Site1 folder and reference them without the ../design/ bit. If things work right, Actinic should detect these files and upload them to the acatalog directory on your web-site.

Or.

If you have such a directory on your web-site then you'll have to upload the images to it using an FTP program.

Norman