Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iweb - multiple websites / iwebdrop

Hallo,

I manage a few different websites with iweb (and the help of iwebdrop).

Each website has a separate domain file, these domain files have unique names and are saved in different locations.

But I have the following problem: every time I open a website, iWeb opens several of my other websites at the same time. One doesn`t notice this immediately, but if you check under iweb/window - you will see that several sessions are open.

My question is: Is there any way to avoid this?

- I work on a Macbook Pro iOS 10.7.5

- all my domain files have different names and are saved in separate locations

- I open the website file (domain file) by dragging the file onto the iwebdrop-icon

Any help would be appreciated,

best regards, Volker

MBP 17, Mac OS X (10.3.x)

Posted on Oct 29, 2012 3:05 AM

Reply
16 replies

Oct 29, 2012 8:08 AM in response to Joe Gramm

Thank you, Joe - but I was using a similar solution before:

It created the same interface using the scribt editor, see below. But it had the same problem (always opened multuiple files...)


do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"

delay 1

tell application "iWeb" to activate

Oct 29, 2012 10:58 AM in response to air_7up

Try deleting the iWeb preference file and the preference file for the application you use to open iWeb and select a different domain file. Both will be located in your Home/Library/Preferences folder.


But remember:


In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.


Once it's visible it is an easy task to locate and delete those two preference files. The preference file will be the same name as what you named the script if you made it an application.


In case there is some difference in your code and Roddy's or the one I create which you can download with this link: iWeb Switch Domain.




OT

Oct 30, 2012 2:22 AM in response to Old Toad

Many thx, Old Toad!

finding and accessing the library is not a problem,

but I was unable to find a preference file for iWebdrop.

Also not sure if this is the correct one for iWeb? "com.apple.iWeb.plist"

If I locate the right files - is the process you are describing a "one-time" fix or do I have to repeat this after each session?

I just backed-up and deleted the iWeb pref file and iWeb still openend three different domain files / websites (in separate windows)...

regards, Volker

Oct 30, 2012 9:18 AM in response to air_7up

My mistake. It's a script so no pref file. com.apple.iWeb.plist is the correct file to delete. It should be a one time fix. The script changes some feature of the document path in the preference file and lets you choose a new domain file to open. Hopefully creating a new preference file will let the script work as intended.

Nov 29, 2012 10:26 AM in response to Old Toad

I am in big trouble, but I know I can count on you, Old Toad. I am using iWeb to manage two sites, but now when I open the application, neither of them appear. Instead an old site I no longer use opens. When I try to go to a backup copy of one of the sites - even one on an external drive - the same old site opens. I've tried looking for .sites2 files, but same problem. I kept opening them and every time I did that and them closed iWeb, it saved the wrong file, so now no matter where I am, the old domain opens. I had an app called "Muliple Domain Web," and using that didn't help. I now have your "IWeb Switch Domain," and have found an old copy that opens correctly. However, I've managed to do this twice before and iWeb soon shut down with and error message. I don't trust this one to last either and think I should delete com.apple.iweb.plist. I have opened the terminal window, but don't know if I should type the command in overlaying what already appears there (Last login info and my name and machine or after that. If I delete the .plist, how will iWeb know what to open in future?

Help!

Nov 29, 2012 10:55 AM in response to Marion Dobbs

Are you running Lion or Mt. Lion? If so read the following:


In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.


To open your domain file in Lion or Mountain Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.

do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"

delay 1

tell application "iWeb" to activate


You can download an already compiled version with this link: iWeb Switch Domain.


Just launch the application, find and select the domain file in your Home/Library/Application Support/iWeb folder that you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.

WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder. So rename your domain files once they've been created to something other than the default name.

Nov 29, 2012 5:10 PM in response to Old Toad

Thank you again and again. This worked briefly. Here's the problem now as I see it. Somehow the correct website is on a portable external drive. The old domain file that I'd like to jettison is the one in Home/Library/Application Support/iWeb folder on my computer.


What happens if I delete that and replace with the file on the external drive? The earth will be drawn into the sun? Or can I just copy the file from the external drive into the Home/Library/Application Support/iWeb folder alongside the old file and then pick one to open with iWeb Switch Domain?


Right now, when I double click on the external drive domain file, both the old and the new domains open. I'm very frightened of destroying the good one.

Dec 3, 2012 8:09 PM in response to Old Toad

This didn't work quite as one might hope. I put the preferred domain file into the appropriate folder, but opening iWeb just opened a new clean slate site. So, I used iWeb Switch Domain to go to the backup copy on th external hard drive. The correct site opened, but somehow all the paths to images weren't functional. The good news is that I just reloaded the images, and everything is good now.

It must be a heavy burden for you carrying all that knowledge around in your head and all that generosity in your heart!

Thanks again.

iweb - multiple websites / iwebdrop

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.