ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

menu freeze when updating new page

June 13, 2012 3:09pm

Subscribe [1]
  • #1 / Jun 13, 2012 3:09pm

    johnnyb

    45 posts

    My client did minor edits to a normal page, including the page title, which is what gets pulled into the menu. On update, the entire menu of the whole site froze - nothing appears in the dropdowns under any menu heading.  When she set the status of the updated page to “closed” everything went back to normal - except the page of course is no longer there.

      Notes:
      1. The first thing I tried was changing the URL name, which she’d left the same. Did not fix the problem.
      3. Double-checked the open and close dates - nothing amiss there.
      2. Searched every line of code, can’t find anything wrong.
      4. Published a new blank page from scratch and pasted the content into this, gave this a new name and URL name. Same problem - when submitted, entire menu goes blank.
      5. Tried to duplicate the problem on the development site (she worked directly on the production site) but on the development site, no problem.
      6. Emptied newly published page of all data but the word “blank” and took all punctuation marks out of the title. This may have been the problem - there were quotes and a colon in the title. The renamed page doesn’t destroy the menus.

    References or further help welcome.

  • #2 / Jun 14, 2012 11:47am

    Dan Decker

    7338 posts

    Hi johnnyb,

    Thanks for all your sleuthing!

    6. Emptied newly published page of all data but the word “blank” and took all punctuation marks out of the title. This may have been the problem - there were quotes and a colon in the title. The renamed page doesn’t destroy the menus.

    That may be our clue there. Depending on how the template is set to use {title}, it may have wrecked havoc on the the HTML output, breaking the menus.

    To test, you can submit the page just like the client did. Visit the site, and view the source of the rendered page. If you are using the {title} variable in an HTML attribute, the punctuation could be throwing it for a loop.

    Can you look into that for me?

    Cheers,

  • #3 / Jun 14, 2012 3:03pm

    johnnyb

    45 posts

    Yes it was definitely the quotes in the Title.  It kinda raised a red flag for me subliminally right away, but I didn’t trust it. Too simple. :(  Live and learn

  • #4 / Jun 18, 2012 12:04pm

    Dan Decker

    7338 posts

    Hey johnnyb,

    Live and learn

    Always!

    Is there anything else I can assist you with?

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases