ivanmax Posted February 14, 2007 Posted February 14, 2007 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 Quote
stevevan Posted February 14, 2007 Posted February 14, 2007 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! Quote
ivanmax Posted February 14, 2007 Author Posted February 14, 2007 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 Quote
TCH-Bruce Posted February 14, 2007 Posted February 14, 2007 ><a href="../../www.yahoo.com"> These are not valid links to anything in your domain. And all of your thumbnails are pointing to this link. Quote
ivanmax Posted February 14, 2007 Author Posted February 14, 2007 How come if all the links point to www.yahoo.com the thumbnails take you to the pages where they are supposed to? Thanks, Iván Quote
TCH-Bruce Posted February 14, 2007 Posted February 14, 2007 The thumbnails are taking me to >http://www.artepolaroid.com/www.yahoo.com So I am not sure what you are saying. Your links are not pointing to the photos. Quote
ivanmax Posted February 14, 2007 Author Posted February 14, 2007 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 Quote
TCH-Bruce Posted February 14, 2007 Posted February 14, 2007 Sorry, someone that uses Dreamweaver will have to answer that. I don't use it and hand code my pages. Quote
TCH-Andy Posted February 14, 2007 Posted February 14, 2007 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). Quote
JTD Posted February 14, 2007 Posted February 14, 2007 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> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.