Re: Absolute / relative paths problem
Andras Mantia <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Thursday 15 March 2007, Oliver König wrote: > I downloaded all files to /www/htdocs/ on my Notebook. I opened > Quanta 3.5.6. I created a new Quanta project and in "Directory > Settings" I defined /www/htdocs/ as the main directory and inserted > all files from /www/htdocs/ into the project. I understand that you've specified the main directory when you created a new project, right? This setting is only used to know where the project is created, but not used anywhere else. > Problem: > When I open a html file in Quanta with the VPL editor or the preview > the images do not display and the hyperlinks do not. It looks like > Quanta cannot handle absolute links. How can fix this problem without > changing all references from absolute to relative? Quanta should handle this cases. As I understood you still have the same directory layout: /www/htdocs - this is the base of the project, hosts he .webprj file /www/htdocs/images/ - has the png images /www/htdocs/folder/ - has some html files What is not working? If you open the project, and open a html file from /www/htdocs which has <img src="/images/img.png"> and a link to another page: <a href="/folder/page.html">page</a> the image does not appear and the link is wrong?? If yes, do you have any preview prefix set in Project Settings? If no, then I don't understand what is the situation when the links are not working. Andras -- Quanta Plus developer - http://quanta.kdewebdev.org K Desktop Environment - http://www.kde.org _______________________________________________ Quanta mailing list [email protected] https://mail.kde.org/mailman/listinfo/quanta
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBF/C7vTQdfac6L/08RAjv6AJ97DgRU/HZCwsHYODE19LmpmkjPPQCfc8e+ 5vsIDgUXIW55sY7LqGIxjkE= =FFYh -----END PGP SIGNATURE-----