Edit bar missing after upgrade-SOLVED
Permalink 1 user found helpful
I updated to the new5.4.1.1 and my edit bar at the top of the page is now gone. I tried re-upping the core but no luck. Anyone else have this issue?
Thanks!
Thanks!
I'd guess a JavaScript conflict. 5.4 loads newer jQuery than 5.3. Try commenting out any other JS on your page and see if the edit bar comes back. I've had to update scripts on a few sites after upgrading.
That did it. I was using the Wibiya sharing bar so I changed services.
A quick workaround is to hide the widget from users who can edit the page (If they can't edit, they won't have the edit bar...) Userful for sharethis, affiliate widgets, etc.
<?php $u = new user(); $p = new Permissions($c); if (!($p->canApproveCollection())) { ?> <!-- code that conflicts with edit bar here --> <?php } ?>
I haven't tried this yet, but I will. That's an excellent solution and I will mark it as a solution!
I wanted to update and say that this solution worked perfectly!
Thanks!
Thanks!
canWrite also works really well, I always use it in simple permissions mode. canAddSubContent() is another good one.
This solution worked, but even when the wibiya bar was used while not in edit mode, interfered with my calendar's agenda view and nothing would show up.
I did notice on the AddThis website that they are no longer supporting the full bar that runs across the bottom of the screen. Bummer because it was pretty cool. Maybe they'll revive it at some point.
I did notice on the AddThis website that they are no longer supporting the full bar that runs across the bottom of the screen. Bummer because it was pretty cool. Maybe they'll revive it at some point.
this worked! good job!
this worked! good job!