Autonav disappears then reappears on refresh - HTML, not CSS

Permalink
I am having a weird issue with a header autonav on a website I am building...

When I click from page to page, the autonav disappears. But when I refresh the page, it comes back.

If I view the HTML source, the actual HTML code is missing! My header nav DIV is just empty. But on refresh it comes back.

If I say on the page and refresh multiple times, then the menu disappears again for a couple of refreshes, comes back for a couple, then goes again.

Does anyone know what is going on? It's as if the page is loading before C5 had a chance to render the autonav or something???

(I've tried clearing and disabling cache, but still happens... It's happening on all my browsers too.)

webporter
 
webporter replied on at Permalink Best Answer Reply
webporter
UPDATE: I've fixed it by deleting the old autonav and putting in a new one.

That actually wasn't as easy as it sounds - I kept going into the page, deleting the block then saving, but the block remained. I ended up having to move the block to another editable region, then save the page, go back in and delete it. It was strange.

It may have something to do with the fact that I created a GlobalArea called "Header Nav" which is usually just a normal content Area in a default install, and it looked like it just inherited the contents of the old "Area" and I thought nothing of it until just now :) It makes sense, because I actually had to go into each page and remove the old AutoNav (which was weird since I thought it was a GlobalArea, but obviously wasn't).

Anyway, just thought I'd give a verbose update for anyone else having similar issues ;)

Cheers
- Mal
mkly replied on at Permalink Reply
mkly
Hello,
This may be something I've been looking into. Was the Area previous a regular Area and then the same named Area was changed into a GlobalArea?

Best Wishes,
Mike
webporter replied on at Permalink Reply
webporter
Yes, that's right. It was a regular Area before.

I wasn't using it at first, was just a one-page site, then I decided to add some pages to the site and used the GlobalArea for the "Header Nav" to make maintenance easier. The new pages automatically had the AutoNav in the "Header Nav", I didn't even add the block -- I think it must have been in the Page Defaults for the former "Area", but I am not sure... bit hard to tell unless I change it back to an regular "Area" I think