Author |
Topic  |
|
ssayne
Novice

USA
8 Posts |
Posted - 12 Aug 2008 : 20:30:47
|
Hello,
I have a website that was created in FrontPage and I imported it and am fixing it so that I can update it with DHTML. Problem is that we have multiple people updating the pages with different programs so we need to keep the filestructure with specific filenames and locations.
With that said, the DHTML is exporting my background with a different name. IE: Filename is curry1 and the program is labeling it files_curry1 and I need the name to be curry1. I have been unable to figure out how to make the program keep the name of the file. I can manually edit my .html file but I shouldn't have to do that or I could copy the file over to the website and it would work but I just don't understand why the program is doing this.
Thanks in advance,
|
|
jtarin
Super User
    
Russia
444 Posts |
Posted - 12 Aug 2008 : 23:17:13
|
Go in to your folder /files that contains the image you are using and rename it to your preference.Then in DHE double-click anywhere on your page in an empty spot and bring up "Main Page Settings". Click the "Colors" tab...at the top of the dialogue you will see your path to your background...Using the navigation button on the right, navigate to the newly renamed image file and click on it. Scan the dialogue before you say "OK" to see if there are any other settings you want to change then say "OK". Save the page...then export.Check your .html page for correctness.If youdecide to "link" only..the path must be the same on your Local drive and Remote location..eg;/files
|
Porky www.pacificwavetour.com |
 |
|
ssayne
Novice

USA
8 Posts |
Posted - 12 Aug 2008 : 23:52:22
|
HMMM. I renamed the files and that didn't work until I removed the option to use the same background for all pages. After that option was deselected upon export the background filenames were retained...
Is that feature supposed to rename the picture files for you?? |
 |
|
ssayne
Novice

USA
8 Posts |
Posted - 13 Aug 2008 : 00:04:44
|
Also, if I de-select the "Don't export background, link only the file" option it also changes the file name. |
 |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 13 Aug 2008 : 16:58:40
|
I made a test and using "Don't export... " the program seems to work correctly. If I choose a file and check that option it creates such as page:
<body text="#000000" bgcolor="#FFFFFF" link="#0000FF" alink="#FF0000" vlink="#800080" background="file:///U|/VistaSP1a.jpg">
As you can see it linked a file named 'VistaSP1a.jpg' (that is the same I chose). |
Regards, Davide |
 |
|
ssayne
Novice

USA
8 Posts |
Posted - 13 Aug 2008 : 21:20:31
|
Did you try de-selecting that option? This is where I'm having the problem.
I have to de-select the option because the path is not correct (hierarchy is not the same as on website) so I have to manually edit the path in the .html file after I export my changes to retain the correct filename.
I am running XP Pro w/DHTML v4.2.50.
With the background option set to "export background" this is when it creates the background file name as "page-name_background.jpg". As soon as I check mark that option "Don't export background, link only the file" it puts in the correct name but again, the path is incorrect so I have to manually edit the file. |
 |
|
jtarin
Super User
    
Russia
444 Posts |
Posted - 13 Aug 2008 : 21:50:30
|
I have tested it both methods myself and both work as they should on my machine, with that said...after saving, possibly you could use the "batch manager" to change all your image links before exporting. |
Porky www.pacificwavetour.com |
Edited by - jtarin on 13 Aug 2008 21:51:16 |
 |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 14 Aug 2008 : 09:37:36
|
@ssayne
If you want to choose a file and let this file is maintained after the export of the page you have to mark the flag "Don't export...", or D.H.E. will create a fixed name file for the background; actually there are no methods to avoid this.
In order to resolve your problem act as follows:
1- copy the background image you need into the folder where your site is 2- link this file in the page properties flagging "Don't export"
This should work perfectly. |
Regards, Davide |
 |
|
|
Topic  |
|