(Msg. 1) Posted: Thu Dec 11, 2008 2:29 pm
Post subject: Getting correct hyperlinks in a DWT Archived from groups: microsoft>public>frontpage>programming (more info?)
I'd like a DWT than I can use to generate a page which has
<iframe src="album/index.html" width="1024" height="740"> Please use a
browser that supports iframes </iframe>
in the Body section. Further, I want to put a copy of this page in many
different folders in my Web and have it appear exactly that way in each
place, since the targeted index.html file is always in the "album"
subdirectory where the generated page will be. The problem is, whenever I
put the generated page into a any folder other than the
folder where the DWT file is FP will recalculate the link address. IOW, once
the generated page is where I want it there will be:
<iframe src="../Templates/album/index.html" width="1024" height="740">
Please use a browser that supports iframes </iframe>
This happens no matter how I get the generated plage to the wanted folder,
i.e., I get the same result if I created it in its final location or create
it in the Template folder and move it to the final location.
Is there any way I can force FP to NOT recalculate the link when the
generated page is moved?
(Msg. 2) Posted: Fri Dec 12, 2008 4:12 am
Post subject: Re: Getting correct hyperlinks in a DWT [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
If your site supports parent pathing try using a parent path
<iframe src="/album/index.html" width="1024" height="740"> Please use a
browser that supports iframes </iframe>
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________
"Ed Sowell" <jag_man__REM0VE__653.DeleteThis@sbcglobal.net> wrote in message news:E818D54B-8B19-4653-9F94-0915715DECC1@microsoft.com...
| I'd like a DWT than I can use to generate a page which has
|
| <iframe src="album/index.html" width="1024" height="740"> Please use a
| browser that supports iframes </iframe>
|
| in the Body section. Further, I want to put a copy of this page in many
| different folders in my Web and have it appear exactly that way in each
| place, since the targeted index.html file is always in the "album"
| subdirectory where the generated page will be. The problem is, whenever I
| put the generated page into a any folder other than the
| folder where the DWT file is FP will recalculate the link address. IOW, once
| the generated page is where I want it there will be:
|
| <iframe src="../Templates/album/index.html" width="1024" height="740">
| Please use a browser that supports iframes </iframe>
|
| This happens no matter how I get the generated plage to the wanted folder,
| i.e., I get the same result if I created it in its final location or create
| it in the Template folder and move it to the final location.
|
| Is there any way I can force FP to NOT recalculate the link when the
| generated page is moved?
|
|
|
|
| TIA,
|
| Ed
|
|
|
|
|
|
(Msg. 3) Posted: Fri Dec 12, 2008 10:39 am
Post subject: Re: Getting correct hyperlinks in a DWT [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Thanks, Stefan. I wasn't familiar with the term so I did a Google, finding
the page:
If I understand correctly, what you show is called Root Relative pathing.
Parent path would be ../
However, neither seems to help.
Also, I now believe the problem has nothing to do with DWT. It is FP itself
that always "corrects" the hyperlink paths when a file is moved or copied to
a different folder, regardless of how the file was created.
Ed
"Stefan B Rusynko" <sbr_enjoy RemoveThis @hotmail.com> wrote in message
news:eBYhVnDXJHA.1184@TK2MSFTNGP05.phx.gbl...
> If your site supports parent pathing try using a parent path
> <iframe src="/album/index.html" width="1024" height="740"> Please use a
> browser that supports iframes </iframe>
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> _____________________________________________
>
>
> "Ed Sowell" <jag_man__REM0VE__653 RemoveThis @sbcglobal.net> wrote in message
> news:E818D54B-8B19-4653-9F94-0915715DECC1@microsoft.com...
> | I'd like a DWT than I can use to generate a page which has
> |
> | <iframe src="album/index.html" width="1024" height="740"> Please use
> a
> | browser that supports iframes </iframe>
> |
> | in the Body section. Further, I want to put a copy of this page in many
> | different folders in my Web and have it appear exactly that way in each
> | place, since the targeted index.html file is always in the "album"
> | subdirectory where the generated page will be. The problem is, whenever
> I
> | put the generated page into a any folder other than the
> | folder where the DWT file is FP will recalculate the link address. IOW,
> once
> | the generated page is where I want it there will be:
> |
> | <iframe src="../Templates/album/index.html" width="1024"
> height="740">
> | Please use a browser that supports iframes </iframe>
> |
> | This happens no matter how I get the generated plage to the wanted
> folder,
> | i.e., I get the same result if I created it in its final location or
> create
> | it in the Template folder and move it to the final location.
> |
> | Is there any way I can force FP to NOT recalculate the link when the
> | generated page is moved?
> |
> |
> |
> |
> | TIA,
> |
> | Ed
> |
> |
> |
> |
> |
> |
>
>
(Msg. 4) Posted: Fri Dec 12, 2008 6:10 pm
Post subject: Re: Getting correct hyperlinks in a DWT [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
The solution is to export the file (as you want it) to your desktop from FP, then import it back via
FP into each folder via drag-n-drop.
--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
http://www.Ecom-Data.com
==============================================
"Ed Sowell" <jag_man__REM0VE__653.RemoveThis@sbcglobal.net> wrote in message
news:B6FAFC90-5316-4982-A5CF-20593F2B005E@microsoft.com...
> Thanks, Stefan. I wasn't familiar with the term so I did a Google, finding the page:
>
> http://ase.tufts.edu/its/webDtParentPaths.htm >
> If I understand correctly, what you show is called Root Relative pathing. Parent path would be
> ../
>
> However, neither seems to help.
>
> Also, I now believe the problem has nothing to do with DWT. It is FP itself that always "corrects"
> the hyperlink paths when a file is moved or copied to a different folder, regardless of how the
> file was created.
>
> Ed
>
>
> "Stefan B Rusynko" <sbr_enjoy.RemoveThis@hotmail.com> wrote in message
> news:eBYhVnDXJHA.1184@TK2MSFTNGP05.phx.gbl...
>> If your site supports parent pathing try using a parent path
>> <iframe src="/album/index.html" width="1024" height="740"> Please use a
>> browser that supports iframes </iframe>
>>
>> --
>>
>> _____________________________________________
>> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
>> "Warning - Using the F1 Key will not break anything!" (-;
>> _____________________________________________
>>
>>
>> "Ed Sowell" <jag_man__REM0VE__653.RemoveThis@sbcglobal.net> wrote in message
>> news:E818D54B-8B19-4653-9F94-0915715DECC1@microsoft.com...
>> | I'd like a DWT than I can use to generate a page which has
>> |
>> | <iframe src="album/index.html" width="1024" height="740"> Please use a
>> | browser that supports iframes </iframe>
>> |
>> | in the Body section. Further, I want to put a copy of this page in many
>> | different folders in my Web and have it appear exactly that way in each
>> | place, since the targeted index.html file is always in the "album"
>> | subdirectory where the generated page will be. The problem is, whenever I
>> | put the generated page into a any folder other than the
>> | folder where the DWT file is FP will recalculate the link address. IOW, once
>> | the generated page is where I want it there will be:
>> |
>> | <iframe src="../Templates/album/index.html" width="1024" height="740">
>> | Please use a browser that supports iframes </iframe>
>> |
>> | This happens no matter how I get the generated plage to the wanted folder,
>> | i.e., I get the same result if I created it in its final location or create
>> | it in the Template folder and move it to the final location.
>> |
>> | Is there any way I can force FP to NOT recalculate the link when the
>> | generated page is moved?
>> |
>> |
>> |
>> |
>> | TIA,
>> |
>> | Ed
>> |
>> |
>> |
>> |
>> |
>> |
>>
>>
>
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum