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!

FatTony1952
 
goldfish replied on at Permalink Reply
goldfish
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.
FatTony1952 replied on at Permalink Reply
FatTony1952
That did it. I was using the Wibiya sharing bar so I changed services.
goldfish replied on at Permalink Best Answer Reply
goldfish
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 } ?>
FatTony1952 replied on at Permalink Reply
FatTony1952
I haven't tried this yet, but I will. That's an excellent solution and I will mark it as a solution!
FatTony1952 replied on at Permalink Reply
FatTony1952
I wanted to update and say that this solution worked perfectly!

Thanks!
ScottC replied on at Permalink Reply
ScottC
canWrite also works really well, I always use it in simple permissions mode. canAddSubContent() is another good one.
FatTony1952 replied on at Permalink Reply
FatTony1952
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.
Benjamin replied on at Permalink Reply
Benjamin
this worked! good job!
Benjamin replied on at Permalink Reply
Benjamin
this worked! good job!