<< back to knowledgebase home

Menu disappears if page is edited with Contribute (MM2)

Article Applies To:

MenuMachine 2 only

GoLive CS, CS2

Mac, Windows

Article ID: 000152

Category: General Issues

Issue

If a web site is developed in GoLive on a Mac, but edited by a client using Contribute (Windows or Mac), the menus will not work when uploaded.

Solution

A cause of this problem is that Contribute changes the line break characters of the page from Mac (which is what the page was set to originally) to Windows. However, it does not change the line breaks inside the MenuMachine code, which causes the menu to fail in the browser.

What you need to do is change all the pages in your site to use Windows line breaks, then re-upload them to stop Contribute mangling the pages.

It is easy to change line breaks throughout the site in GoLive CS and CS2.

(As with all major changes to a site, you should perform a full backup first.)

GoLive CS:

  1. Go to the Edit > Document Content > Rewrite Source Code... menu item.
  2. Set all of the popups to "no change" except for Line Break Character, which you should set to Windows. (See screenshot below.)



  3. This won't affect editing in GoLive. If you want newly-created pages to use the Windows line endings then you should change the preference in GoLive > Web Settings > Global > Line Break Character > Windows (CR/LF).
  4. Re-upload your site and test edit a page, it should now work correctly.



GoLive CS2:

  1. Go to the Edit > Document Content > Rewrite Source Code... menu item.
  2. Set all of the popups to "no change" except for Line Break Character, which you should set to Windows. (See screenshot below.)



  3. This won't affect editing in GoLive. If you want newly-created pages to use the Windows line endings then you should change the preference in GoLive > Web Settings > Global > Line Break Character > Windows (CR/LF).
  4. Re-upload your site and test edit a page, it should now work correctly.

Last updated: May 22, 2007

This article has been viewed 7662 times.

Related articles