-
1. Re: Message "root folder in folder for another site"
Zabeth69 Jun 12, 2010 5:27 PM (in response to TCarp)Your ideal is to have one site folder containing all files for that site and a separate, uninvolved, unconnected to the first-site folder containing all the files for the second site.
It messes with DW's ability to track each site's files if they are intermingled, which is why you are getting that message (those messages), as you know.
Before you move anything, see if you can correct the definitions without moving files.
If you cannot, then move the embedded sites out of the site in which they are caught. You will not be able to do this within the Files Panel (if you have one in your version), so use the computer's file management system.
Okay, now each is in its own separate, unconnected to the others, folder.
Go in and edit the site definitions to reflect the new state of affairs...where the root folder is for each site.
I don't recommend actually deleting any files, as that will only confuse things further.
Beth
-
2. Re: Message "root folder in folder for another site"
TCarp Jun 13, 2010 9:39 AM (in response to Zabeth69)Hi Beth
Because I'm a DW hobby user, I what to go over the idea in a little more detail to make sure we're on the same page and my idea makes sense. Bear in mind this all worked fine before I migrated to my new laptop. I thought I was being careful not to mess with file paths but it looks like I may have messed things up.
As you understood, the idea is to have each site's files in its own folder AND none of the files across folder boundaries are related in any way. In other words, each site has its own images, links, templates, css, pages, etc. Within a site things can get pretty complex but the sites are independent in a DW sense.
This means each site has its own root folder.
In addition, outside the DW context the sites are in separate folders. In other words, if I navigate to My Documents>My Webs, each site folder is listed (including the one that seems to have taken over).
The only thing SOME sites have in common is they're stored in the same hosting area. The others are either temporary/work sites that aren't published or they're published to a different host.
What seems to have happened is that all but one of the site folders ended up inside the one remaining site folder and, because each had its own root, .......
Since these folders (in Windows) are peers already (i.e. one's not embedded in another), it would seem all that needs to be done is correct the root for the one that's gone rogue.
The problem was that attempting to change the root in the rogue site had problems. If I browsed to the site folder (i.e. My Documents>My Webs>site folder) and selected it DW wouldn't accept the path. That why my thinking was to delete the site (in DW) and then add it back.
Since I posted I've done some testing. Instead of browsing to the root folder I manually entered its path (My Documents>My Webs>Sitename. DW accepted it but I got the message again about embedded roots but now with a different site name. I looked at all the site and each had the root folder path as My Documents>My Webs without a site name.
I went through and manually pointed each one to its respective folder and poof, the problem seems to have gone away.
I suspect the problem was created when the files were migrated from my old XP laptop to my new Win7 laptop. I haven't gone back to check but maybe Win7 has another level in the path naming that isn't in XP or visa versa.
Thanks for the post. I'll be going back through all the sites to make sure the root path is correct.
Tom
P.S. I do understand your comment about not leveraging the ability of DW to manage "stuff" and there may come a time when I want to create a sort of umbrella site where I store common stuff like templates and styles (when they are hosted at a common site). For now though, these sites are different enough that all I do when creating a new site is copy templates or styles I like and then make local changes.
-
3. Re: Message "root folder in folder for another site"
TCarp Jun 13, 2010 9:47 AM (in response to Zabeth69)A follow up.
In addition to getting the root folders right I seem to have to go back and save the templates again. In other words, when I try to create a new file based on a site's templates, none are listed.
As this unfolds I'll keep posting updates if needed.
Thanks again
Tom
-
4. Re: Message "root folder in folder for another site"
Zabeth69 Jun 13, 2010 9:50 AM (in response to TCarp)If you have moved to Windows 7 OS, I recall that there was a problem with DW (in Vista) entering the name of a parent folder when a child folder was chosen. Good idea to type the path in yourself, as long as you get it right!
If that problem shows up in 7, I don't know. But you could Google it or search the Forum to see if there's a fix (if there's a problem in the first place).
If your site root folders are mutually exclusive, you should be able to edit the definitions to reflect the correct paths and that should fix it.
When you say "delete the site," I trust you mean "delete the site definition". You only need to do that in the Manage Sites panel, and you don't need to delete any files or anything like that...
Good job!
Re my comment about DW and file handling: I don't ever mean that I use the same source document live in separate sites. I do keep a "working" folder outside all my site folders, but I always allow DW to "copy" the images to my site's root folder (into the images subfolder, usually) when I use something from that 'working' folder.
Happy DWing!
Beth
-
5. Re: Message "root folder in folder for another site"
TCarp Jun 13, 2010 4:54 PM (in response to Zabeth69)Beth,
Thanks again and yes, I meant "removing" the site not deleting the files.
I've done some more checking and it looks like I made a couple important mistakes when migrating the DW files to the new laptop. It had nothing to do with Win7 or the path names. One of the site folders was not copied over and I had made a mistake defining a site in DW that was actually just a folder in another site. Without understanding exactly how, I ended up making a big mess on the host when I started doing syncs on the new laptop.
Once I saw what I had done it was just a bit of clean up time. It's also giving me the opportunity to delete some old files on the host. Good time for a long-overdue cleanup and some file/folder layout work.
Again, I appreciate you posts. You asked some questions that led me to the discovery.
Tom
-
6. Re: Message "root folder in folder for another site"
Zabeth69 Jun 13, 2010 4:58 PM (in response to TCarp)Whew!
Glad I could help. Asking as many questions as possible, to get around all sides of a quandary, sometimes jogs just the right brain cells, eh?
Beth


