Pro 5.0.5 - Ermmm where did my save button go?

as you can see in the screenshot… my save button has ‘like magic’ gone poof in a cloud of smoke.

Cmd - S to save the day but even a screen refresh didn’t bring back the much loved save button

This is on Mac / Chrome

Hi @scotbaston,

Well, that’s a new one. Been checking the codebase and not seeing a way to trigger that. Mind if I login here to check that out? Thanks!

Hi @alexander

Not sure the cause, but checking on a different computer I can’t replicate the problem

login details below if you still want to take a poke around

In prior betas (last year) I had something like this occasionally happen if the browser changed the size of the window (e.g. when going from 1 tab to 2 in Safari, since it shifts the browser ui around).

In the screenshot, it looks like there’s a big grey bar running across the top of the Pro bar… so I wonder if something is getting injected there for that particular browser that Pro isn’t able to account for? :man_shrugging:

@scotbaston, if you change the browser window size, does it fix itself?

I think you maybe onto something… although resizing the screen didn’t fix anything

Hi @scotbaston,

I tried logging in but it said invalid username/password. Meanwhile, I had a few thoughts:

  • Check Preferences to see if WP Toolbar is turned on. I tried it on my site and it still works fine here but it’s something that would indeed push that space down slightly.
  • Check Dev Toolkit (enable from preferences) and switch to “Custom UI CSS”. Make sure there’s nothing going on in there that would change the app structure.

Hi @alexander

I’ve updated the password in the above secure note and tested the login so that it works now

also re: prefs… surely the WP Toolbar would be user specific so when I logged in with the same account on a different machine (and didn’t get the problem)

I never set the WP Toolbar on, and just checked (I didn’t have toolbar on)

I can’t replicate the problem any more, but did just check UI CSS and nothing showing there either

Thanks @scotbaston, appreciate you checking those in the meantime. I checked as well and the save button appears. Quite the mystery on this one - I’ll keep an eye out for it happening again.

Hi @alexander,

Did you have any words of wisdom with the PS in the secure note? appreciate you are busy

Missed that, sorry! I’m not really sure how that plugin works, but the easiest way to make custom element conditions is to register some a new Dynamic Content statement like this:

add_filter('cs_dynamic_content_custom', function( $result, $field, $args = []) {

  if ($field === 'my-plugin') {
    if ($some_condition_is_true) {
      $result = 'YES';
    } else {
      $result = 'NO';
    }
  }

  return $result;

}, 10, 3);

Next you can add an Expression (String) element condition with {{dc:custom:my-plugin}} | is | YES and you’ll be hiding/showing an element based on $some_condition_is_true in the code. You’ll just need to work out how to set that variable to what you’re looking for. That might be something their support could help provide a quick function for though.

1 Like

Thank you @alexander, I’ve bothered the developers over at MyEventON… Let’s see if they can be as good as Themeco :wink:

Sounds good! Hope it goes well.

1 Like

@alexander for your amusement…

response…

Sorry Thats outside the scope of this helpdesk- we are designed to get your plugin working as advertised

however i will assign this to the boss and see what he thinks- he may come back with a solution or not sorry to be blunt

:rofl:

1 Like