| View previous topic :: View next topic |
| Author |
Message |
Mark Horrocks Guest
|
Posted: Thu Mar 08, 2007 9:11 am Post subject: Page Produce HTMLFile property |
|
|
The PageProduce.HTMLFile property wants to get its file from a local path on
the disk. Is there any way to make a page produce get its file from a URL?
(remote site).
What I want to do is have only my ISAPI on my server and all pages and
images on a remote server. That way my customers can edit their own pages as
long as they retain my tags. I know that I can just give them ftp access to
their own directory but that's not what I want.
Mark Horrocks |
|
| Back to top |
|
 |
Wilbert van Leijen Guest
|
Posted: Fri Mar 09, 2007 1:07 am Post subject: Re: Page Produce HTMLFile property |
|
|
Mark Horrocks wrote:
| Quote: | The PageProduce.HTMLFile property wants to get its file from a local path on
the disk. Is there any way to make a page produce get its file from a URL?
(remote site).
|
Sure. Use a TidHTTP component and its Get property. |
|
| Back to top |
|
 |
Mark L. Tiede Guest
|
Posted: Sun Mar 11, 2007 4:08 am Post subject: Re: Page Produce HTMLFile property |
|
|
Mark,
What I did was link the property to the local file to make the IDE happy.
Then I chopped off the beginning part of the path. I don't have the code in
front of me, but I think I made a virtual directory so that the chopped path
was proper relative to the virtual directory.
Hopefully, that gives you a hint as to what to do. If you can't figure
out what the heck I am saying, post another reply and when I get to work I
will check out exactly what I did.
I think it may also have involved iterating through all the webmodule
components looking for pageproducers that had a path and putting the actual
full path in the property when running under the web app debugger because
wad doesn't allow virtual directories. That code was conditional depending
on if I was running the wad project. |
|
| Back to top |
|
 |
|