[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta
Subject: Re: [Quanta] Absolute / relative paths problem
From: Andras Mantia <amantia () kde ! org>
Date: 2007-03-17 18:09:50
Message-ID: 200703172009.52048.amantia () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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
[Attachment #5 (application/pgp-signature)]
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic