Jump to content

Recommended Posts

Posted

Hi everybody,

 

I have a template and have done the links for the buttons on that template. The links on the template work (only the images on the left hand side):

 

http://www.artepolaroid.com/Templates/principal.dwt

 

But the links on every page dependant of that template don´t:

 

http://www.artepolaroid.com/principal_uno_images/cara.html

 

Why the links of the pages made from a template don´t work?

 

Thanks a lot in advance for your help,

 

Iván

Posted

You don't mention what type of error you get. Is it a 404-Page not found error? I would check your path statement...in other words where in the site directory structure does the link point to? Does it point to the correct place? I've had the same problem myself and only after going back through the path (adding a directory, removing a slash, etc.) was I able to find my mistake.

 

Sometimes it's the littlest things that give one the biggest headaches! :)

Posted

The page was not found.

 

 

That it what it says. Aren´t pages from a template supposed to change at the same time the template changes?

 

Thanks a lot for your help.

 

Iván

Posted

Sorry I didn´t explain myself well enough :)

 

All the thumbnails on the left side of the template page have links to other pages with pictures. THey all work well and take the user where they should:

 

http://www.artepolaroid.com/Templates/principal.dwt

 

However the same links of the pages produced from that template don´t work at all. How come if the template works? Aren´t the pages dependant from a template supposed to change at the same time that the template?

 

http://www.artepolaroid.com/principal_uno_images/cara.html

 

 

Thanks a lot in advance for your help,

 

Iván

Posted

You have them in the template as (for example)

><a href="../../www.yahoo.com"><img src="../../images/imagenes_72/PISCINA_LARA_DOS-copy copy.jpg" width="30" height="30" border="0" />

 

If you were to use a different directory, the template would change the "../../" for you into the new directory, but it won't change the link you have their to "www.yahoo.com" you need to change that manually (or fix it in the template to where you want it to go).

Posted

The above is a very good reason why I do not use stuff like dreamweaver. If it tosses out code like this.

 

href="../../www.yahoo.com"><img src="../../images/imagenes_72/CAMA-copy copy.jpg" width="30" height="30" border="0" /></a>

 

Correct code should be something like this.

 

href="http://www.yahoo.com"><img src="path to whatever folder my image is in" width="30" height="30" border="0" /></a>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...