uaintgotthisid Posted October 13, 2008 Share Posted October 13, 2008 I've made a template on Dreamweaver CS3. When I apply it to my pages it references a file i.e. <a href="file:///C|/mywebpages/index.html">Text</a>Where as I would want it to just be<a href="index.html">Text</a>Can anyone solve this problem for me, it's been bugging me for ages, and it must be SO simple to solve Link to comment Share on other sites More sharing options...
uaintgotthisid Posted November 4, 2008 Author Share Posted November 4, 2008 BUMP PLEASE Link to comment Share on other sites More sharing options...
Synook Posted November 4, 2008 Share Posted November 4, 2008 There's a option in DW somewhere that says "use relative paths" or something. I think..But why are you using DW templates in the first place? Link to comment Share on other sites More sharing options...
uaintgotthisid Posted November 6, 2008 Author Share Posted November 6, 2008 I'm using dreamweaver templates because I find them easier to use. I understand that there are other ways of doing this stuff. However, it can be time saving just to create a template and apply it across the board. Incidentally what are your suggestions for other ways of doing this? Are you talking about PHP includes?ANYWAY... the answer for anyone else who could not solve this problem is this:You create a blank page from template and all the links don't work. You save the file and it automatically converts them to the correct formatting. Very very strange I find but it does ensure that if you save the file outside of the site directory the liks are updated. However, if you do that you're probably saving it in the wrong folder by accident (or at least I would be).Hope this helps someone. Link to comment Share on other sites More sharing options...
Synook Posted November 7, 2008 Share Posted November 7, 2008 Well, that's Dreamweaver "adaptive programming" for you :)And yes I was thinking about server-side includes. Link to comment Share on other sites More sharing options...
rzea Posted November 10, 2008 Share Posted November 10, 2008 And a couple of links of course:http://www.smartwebby.com/web_site_design/...de_includes.asphttp://www.htmlbasix.com/includes.shtmlI used to use DW templates for the exact same reason... until I learned about SSI... for the exact same reason Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.