| Author |
Topic Search Topic Options
|
cbassoc
Newbie
Joined: 26 May 2005
Status: Offline
Points: 2
|
Post Options
Thanks(0)
Quote Reply
Topic: FrontPage Directories Posted: 26 May 2005 at 6:45pm |
|
I publish my site and FrontPage puts in hidden directories like "_vit_inf", etc. The RTE program picks these directories up and displays them like regular folders. Is there a way I can exclude these directories or set it up to ignore them?
|
 |
dj air
Senior Member
Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
|
Post Options
Thanks(0)
Quote Reply
Posted: 26 May 2005 at 7:40pm |
|
the only way is to do a if statement to check the name of the directory
if its one of the specified names dont show the directory.
or delete it off the server as they ussially aren't required
|
 |
xeerex
Senior Member
Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
|
Post Options
Thanks(0)
Quote Reply
Posted: 26 May 2005 at 10:00pm |
wrote:
Is there a way I can exclude these directories |
Sure -- unless you have to publish with FP use an FTP program. The _
directories store information that communicates with the FP server
extensions for publishing and certain functions. Be aware that removing
the folders can jack up your FP extensions. Unless you absolutely have
to use FP's publishing, they are not required though.
note: I'm an instructor and have taught beginning, intermediate, and advanced FP. I don't use it though.
|
|
|
 |
dfrancis
Senior Member
Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
|
Post Options
Thanks(0)
Quote Reply
Posted: 27 May 2005 at 9:44am |
You can try to remove them but FP will just recreate them. I think everyone nailed it, if you plan to use FrontPage for management and/or publishing of the site, you should explore the "exclude" option.
I've been working with FP since FrontPage 97, (95?) and it has come a long way over the years. I continue to use it to manage a very large website with multiple sections, sites, and editors. It's convenient because they (the editorial staff) have limited mark up experience but are quite proficient with MS Office products.
|
 |
xeerex
Senior Member
Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
|
Post Options
Thanks(0)
Quote Reply
Posted: 27 May 2005 at 6:00pm |
Yep -- just write some FSO code for the RTE that ignores any
directories starting with an underscore. If you have issues, I daresay
that one of us can help you out in a pinch.
|
|
|
 |
cbassoc
Newbie
Joined: 26 May 2005
Status: Offline
Points: 2
|
Post Options
Thanks(0)
Quote Reply
Posted: 27 May 2005 at 7:05pm |
I am a newbie at ASP, I can understand FSO code and what it does, but don't know where to start. Can you give me some quick examples of how some FSO code could, lets say ignore all directories beginning with "_" or something like that?
Thanks in advance!
|
 |
dj air
Senior Member
Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
|
Post Options
Thanks(0)
Quote Reply
Posted: 27 May 2005 at 7:29pm |
|
if NOT Left(strFolderName,1) = "_" then
run code thats there now
END IF
thats it.. place
if NOT Left(strFolderName,1) = "_" then
above the section that write the code for that directory and
END IF
after the code where it loops/nexts onto the next one
if it doesn't work paste the section here and ill point you in the right direction
|
 |