damwaar Posted July 24, 2003 Share Posted July 24, 2003 Hello, one of my user who is using dreamweaver has pbs with absollute links. is there a way to avoid an link like that : <a href=\"file:\\Ytoto_foldertoto.html\"> thx in advance Quote Link to comment https://forums.phpfreaks.com/topic/773-dreamweaver-and-absolute-links/ Share on other sites More sharing options...
akitchin Posted July 24, 2003 Share Posted July 24, 2003 you can define your root directory with <base href=\"Y:toto_folder\"> in the <head></head> section. then your links can look like: <a href=\"toto.html\"> hope that helps. Quote Link to comment https://forums.phpfreaks.com/topic/773-dreamweaver-and-absolute-links/#findComment-2578 Share on other sites More sharing options...
BinaryStar Posted July 25, 2003 Share Posted July 25, 2003 Before you start your document, try saving it and then adding links and images, if you just start working and don\'t save first it will just link from the drive not the root. Let me know if that helps.. BS Quote Link to comment https://forums.phpfreaks.com/topic/773-dreamweaver-and-absolute-links/#findComment-2579 Share on other sites More sharing options...
damwaar Posted July 25, 2003 Author Share Posted July 25, 2003 ?????? and if I try on a documetn already begun?? Quote Link to comment https://forums.phpfreaks.com/topic/773-dreamweaver-and-absolute-links/#findComment-2585 Share on other sites More sharing options...
BinaryStar Posted July 25, 2003 Share Posted July 25, 2003 if you have already saved the document it should set it up correctly, check thru all of your settings and preferences to make sure everything is correct and also when you are adding links and images at the bottom of the dialog box there is an option stating \"Relative To:\", set this to document and not root.. see if any of that helps BS Quote Link to comment https://forums.phpfreaks.com/topic/773-dreamweaver-and-absolute-links/#findComment-2587 Share on other sites More sharing options...
crithke Posted July 26, 2003 Share Posted July 26, 2003 The other posts pretty muched summed up the issue, however I figured I\'d post a little bit more info. With all of my experiences in the past with dreamweaver, it seems to me that it has quite a few problems when it comes to linking, especially those that are not definite. It has a tendancy to add slashes where they shouldn\'t be. I once spent two hours trying to find out why my css wasn\'t working when in fact dreamweaver decided to add a / before the link that I had put in to this style sheet. Dreamweaver can be aggravating when it comes to links Just a thought Quote Link to comment https://forums.phpfreaks.com/topic/773-dreamweaver-and-absolute-links/#findComment-2596 Share on other sites More sharing options...
theverychap Posted August 6, 2003 Share Posted August 6, 2003 i dont mean to sound horrible but one of the main reasons for me hating programs like dreamweaver is becuase of things like that. (adding extra code etc.) its a pain in the arse, just uninstall it and get a decent book and start writing your own damn code. oops a bit of a harsh tone there, but its what i feel. before i get slagged off for saying that, do realise that ive used dreamweaver for years, obtained a diploma in using it and now hate it. i havent used it for over 18 months now, and can never see me ever using such a program again... WYSIWYG editors spoil the learning process, un-necessary tags, extra code, and generally extra shite thats not really needed just serves to confuse people that are really trying to learn, its crazy. ok thats enough of that for now... Quote Link to comment https://forums.phpfreaks.com/topic/773-dreamweaver-and-absolute-links/#findComment-2791 Share on other sites More sharing options...
stars75238 Posted September 22, 2003 Share Posted September 22, 2003 Use root based links. You do not have to worry about the location of the files, and it makes the documents portable within the site. So all you images would have the location for instance imagesimage.ext that way regardless of the location it can find the file. The best way to set this up is to browse for the file or image from the page and when you select it, in the dialog box select relative to the root instead of the document. Quote Link to comment https://forums.phpfreaks.com/topic/773-dreamweaver-and-absolute-links/#findComment-3556 Share on other sites More sharing options...
DigitaLink Posted September 23, 2003 Share Posted September 23, 2003 chap - I agree. Dreamweaver has it\'s place in the world I\'m sure, but there is NOTHING comparable to a solid text editor with syntax highlighting and a sound knowledge of what the heck you\'re doing. I wrestled with DMX for weeks and went back to the text editor. I generally recommend HTML-Kit (http://www.htmlkit.com) - free and feature-rich. The extensions add a great deal of power to it. I had found DMX handy for doing PHP/mySQL connections at first, but annoying in the end. It\'s better to learn SQL yourself and write your own queries. Quote Link to comment https://forums.phpfreaks.com/topic/773-dreamweaver-and-absolute-links/#findComment-3580 Share on other sites More sharing options...
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.