Ok.... You are mixing apples and oranges. Lets see if we can sort your salad into the proper fruit bins!
1) SUBDIRECTORIES: Go to this page. You will see that you check a box in the publishing area for SUBDIRECTORY and fill in a directory name. The screen shot of this field is shown here for quick reference. This box REMAINS CHECKED so every time you publish you ALWAYS publish that specific tlx design file to that specific place. Each subdirectory has it's own tlx design file and each has the box checked with a different subdirectory name shown.
IF YOU UNCHECK THIS BOX, your tlx file will overwrite your existing home (main) directory of the site so it REMAINS checked.
2) LOCAL HTML FOLDER: Known issue in CSB4 and CSB 5
This field is not for subdirectories. It is assigned in each of your tlx files.
This field is designed to allow you to specify WHERE you have your preview files stored. When you PREVIEW this actually creates a local copy of all website pages that CSB creates from this tlx file. 2 good reasons to use this:
- you have a copy of everything sent to your website
- you (and others at your company if stored/previewed on a shared computer location) can view your website. I use this PREVIEW to produce an in-house website for the company I work for. And I use another tlx design file to create a CD, portable website version!
- If need be, you can use FTP software to upload your website changes using the preview copies!
But you do not HAVE to preview before publishing. You might do this only once in a while. NOT every time you make changes!
Working on a new subdirectory is simple. Publish directly to it and don't place a link to it until you have something worth seeing! Use it as your preview. Since only YOU know that the page exists, others will not see it until you provide a link from some other page.
You must uncheck this box when you publish the tlx file to the website or you may see HTML-obj and other folders/files being REMOVED from your site during the publishing process.
This hiccup only affects the EXTRA stuff on the website not the basic HTML pages and images.
IE:
missing sound files, etc.
If you use INSERT > HTML and attach a file to that using the WEBCOMPONENTS feature, or use a captured resource, etc.
If you do not use any of those extra features, you can leave your box checked all the time.
Special VISTA NOTE: You can not publish a tlx file without first doing a preview to a folder you define in this field. CSB can not preview to the tempoary files in VISTA like you can in other Windows OS. But after assigning it once, the file works like normal.