Site wide navigation issue after upgrade
Permalink
Hi all,
I was wondering if anyone could help me out here, I recently upgraded C5 to 5.6.1.1 and use a theme called heywater. The upgrade broke my theme, and affected my navigation.
after a bit of searching and clean up I was able to fix the problem by modifing the php file for themes and somewhat move on.
I then upgraded to 5.6.1.2 which fixes the issue above.
after fixing a few other issues, I have the site back to stable except for my navigation bar, within the theme the navigation is "sitewide" so I add the nav, and looks good except when I am done editing, the navigation bar changes!
http://tandlracing.com
if you just go to the home page and load it 1 time you will either see a light gray, or dark gray nav bar, the dark gray is the one I want with the drop downs, and the the light gray is the one I wish to have go away.
I cannot figure this out, I have shut off all cache/speed setting for the site and it is reproducible by refreshing the page.
any suggestions?
I was wondering if anyone could help me out here, I recently upgraded C5 to 5.6.1.1 and use a theme called heywater. The upgrade broke my theme, and affected my navigation.
after a bit of searching and clean up I was able to fix the problem by modifing the php file for themes and somewhat move on.
I then upgraded to 5.6.1.2 which fixes the issue above.
after fixing a few other issues, I have the site back to stable except for my navigation bar, within the theme the navigation is "sitewide" so I add the nav, and looks good except when I am done editing, the navigation bar changes!
http://tandlracing.com
if you just go to the home page and load it 1 time you will either see a light gray, or dark gray nav bar, the dark gray is the one I want with the drop downs, and the the light gray is the one I wish to have go away.
I cannot figure this out, I have shut off all cache/speed setting for the site and it is reproducible by refreshing the page.
any suggestions?
Matt,
Thank you so much I appreciate the help greatly.
Thank you so much I appreciate the help greatly.
Hi Matt, Just to let you know, I have a support request with exactly the same problem, the theme its affecting does not use Bootstrap, the "navbar-inverse" class is nowhere to be seen in this instance, but every other refresh the nav bar changes without fail, looks like its swapping between two custom templates.
I have requested some more details so I can have a closer look, so will let you know if its unrelated,BUT is there a possibility this could be a core bug?
I have requested some more details so I can have a closer look, so will let you know if its unrelated,BUT is there a possibility this could be a core bug?
This afternoon I have had another case of this reported, nav bar swaps every other refresh without fail.
Ahh, this is the problem I've been trying to fix all day. I just posted a question about it in the Chit Chat forum, which probably wasn't the right location.
I'm only using the Greek Yogurt theme.
I'm only using the Greek Yogurt theme.
I think I found the reason why it keeps changing: it happens when you already have a header nav, then add the site-wide nav on top of it.
This creates a conflict, and concrete5 sometimes display the site-wide nav, sometimes the old nav.
To remediate this issue, I resolve to clean the db by removing all associations of the old header nav with my pages.
For that, I used phpmyadmin, went to the table CollectionVersionBlocks, I identified the old nav bID (Block ID), then queried "SELECT * FROM CollectionVersionBlocks where bID=\*your old nav bID goes here*\", and deleted all rows.
I have not had the problem since and I don't think I messed up anything with this.
This creates a conflict, and concrete5 sometimes display the site-wide nav, sometimes the old nav.
To remediate this issue, I resolve to clean the db by removing all associations of the old header nav with my pages.
For that, I used phpmyadmin, went to the table CollectionVersionBlocks, I identified the old nav bID (Block ID), then queried "SELECT * FROM CollectionVersionBlocks where bID=\*your old nav bID goes here*\", and deleted all rows.
I have not had the problem since and I don't think I messed up anything with this.
another easy way to remedy this might be to open up your elements/header.php file and locate where the "sitewide area" is and just below it create a new "area" with the same name as the sitewide area. save your changes. Now you should be able to see BOTH areas in edit mode, and if the other conflicting header nav is in the other area you just created you can remove it. Go back to your header.php file and now remove the area you created, or just leave it there ;)
http://www.concrete5.org/marketplace/themes/heywater-theme/support/...
I would recommend opening another ticket and asking why the nav is changing. I see it too-- is the nav a block that was included in the theme? That's what it seems like to me.
I've attached a couple screenshots to show you what's going on between page reloads-- a class called "navbar-inverse" is being added to the div. It seems like some javascript in the theme is doing this upon load.
This is definitely a good thing to ask the theme developer about. Hope that helps!