Can't Disable Front-end Editor "Edit Page" Button - Question | JoomShaper

Can't Disable Front-end Editor "Edit Page" Button

F

FJN

SP Page Builder 2 years ago

I can't seem to remove the "Edit Page" front-end editor button. In SP Page Buider's global settings, "Front-end Editing" is disabled, but the front-end button remains available.

All caches cleared (Joomla and browser), and I am not logged into the site. Clicking the button resolves to a log-in form. How can I remove the button without resorting to CSS?

  • Joomla 4.3.4
  • SP Page Builder Pro 5.1.3
  • Sharper Helix Ultimate 5.0.13
  • Helix Framework 5.0.15
0
8 Answers
Comunicante
Comunicante
Accepted Answer
2 years ago #132913

Hi. The "Edit Page" front-end editor button appears because you are logged in as a Super User. In all other cases it should not appear.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #132919

Hi there!

Yes, she is right. If you are logged in with super user account or those have SPPB page editing permission in the backend, then visiting the site will give you edit page button for the SP apge Builder pages.

Hope it is a bit clearer now:)

Have a nice day!

Best Regards

0
F
FJN
Accepted Answer
2 years ago #133066

No, this is categorially not the case. I have tested this accross browsers and logged-out sessions.

  1. Go to home page, "Edit Page" buttons shows avaialble.

  2. Click the button, a log-in form returns.

  3. Log in with SU credentials

  4. Attempt to edit page, premissin denied--correct: because front-end editing is disabled in the Page Builder global configuraton. The button remains available no matter what. We want to remove it, of course. Is this a bug or am I missing a setting somewhere?

URL to the staging site in the Hidden Content. Please check and let me know the results for you.

Thanks in advance.

0
F
FJN
Accepted Answer
2 years ago #133451

Bumping this in hopes of getting an answer. See reply from me posted two days ago on October 9. The issue is not related to being logged in as a SU. Hidden content contains URL to the staging site. Please test it from your end.

0
RG
Randy Garbin
Accepted Answer
1 year ago #152802

I can confirm this issue. I see the button when I view in Incognito mode and on my phone, which I've never used to log into the site. Please don't let this issue hang out there.

1
F
FJN
Accepted Answer
1 year ago #152803

My sentiments, exactly. Never got an answer, so I finaly hid the button, double-duty, with CSS. Not the best option, but couldn't think of anyithing else to do...

/** REMOVE FRONT-END EDITING BUTTON */
/* SP Page Builder controls not disabling the button. */
#sp-page-builder .sp-pagebuilder-page-edit { display: none; visibility: hidden; }
0
RG
Randy Garbin
Accepted Answer
1 year ago #152804

I did the same since I wasn't expecting a quick resolution to this.

1
F
FJN
Accepted Answer
1 year ago #167795

Ok, so reviving this question because this has again become an issue. This time it's happening on a core Joomla Contact item. However, the Contact item is nested in the HTML ID "sp-component," so I'm tending towards this being a Page Builder issue.

NOTE: The edit button shows as available and usable when LOGGED-OUT from the front-end site, using an incognito window in a browser with a completely unused session.

AND: Front-end editing is DISABLED in Page Builder's global settngs.

Even hiding the button from view with CSS, the link to edit the form still shows in the rendered HTML code, of course, so any random public visitor or bot snooping the code could actually edit the form.

Please check this out for us. The link to the affected page and rendered code are is in the hidden content.

P.S. The related original issue with this from 11 months ago never got resolved for us, where the front-end editing button shows on Page Builder pages. I can still present that same issue as well in case there's motivation from JoomShaper to look again.

0