Skip Navigation

[Resolved] Front-end Layouts Editor link on page not under layout control

This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by kevinP-7 6 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#921412
production-off.png

It seems to be a random occurrence, but I occasionally find pages that display the 'Front-end Layouts Editor' link in the Admin Toolbar. However, the pages in question are not setup to be controlled via Layouts—so there's no obvious way to fix it. When this has occurred in the past, the only solution appears to be to create a new page and delete the old one.

For pages that experience this issue, it's mostly noticed by the lack of padding around the page content—causing the sidebar to touch other elements rather than having the expected breathing room.

#921589

Hello,

The problem is abnormal, please check these:
1) You are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) Deactivate other plugins and switch to wordpress default theme 2017, and test again

3) If the problem still persists, please provide a database dump file (ZIP file) of your website in below "private detail box", also point out the problem page URL and layout URL, I need to duplicate same problem and debug it in my localhost, thanks.

#921852

Below are answers to your questions. However, I also wanted to provide additional testing details.

1) There are updates available, however, this is an issue that has occurred a few times in the past—so it doesn't appear to be related to any specific version of Toolset. However, after updating to the latest version on my staging environment, the issue still exists.

2) When activating the 2017 theme, the 'Front-end Layout Editor' link still displays in the Admin Toolbar. It's difficult to know if there are any layout issues, but the ''Front-end Layout Editor' displaying indicates that the issue still exists despite the theme.

Disabling all other plugins also has no effect—the issue still exists.

3) I can follow up with a database dump, but I wanted to follow-up with additional details first.

I'm able to recreate the issue on any page by selecting the 'Content Layout Editor' button on the page edit screen. As soon as the the button is selected, the page then displays the 'Front-end Layouts Editor' in the Admin Toolbar (when viewing the page), the main page content container looses some of it's margin/padding, and the sidebar has some styling issues.

Once the 'Content Layout Editor' button is clicked, there's no going back. Canceling the action on the following page instead of saving or using the 'Stop using Content Layout Editor' once it's actually saved—nothing corrects the issue once it's occurred. The only solution is to create a new page to replace the previous one.

These tests were done with the 2017 theme and all other plugins disabled.

#922341

Thanks for the details, I can duplicate the problem with the steps you described above.

After click the button "Content Layout Editor", Toolset layouts plugin will add a custom hidden field "_dd_layouts_settings" to current post/page, it is for storing some basic layout settings.

In front-end, if there is "_dd_layouts_settings" field settings, it will display the 'Front-end Layouts Editor' link in the Admin Toolbar.

And there isn't option to remove the hidden field "_dd_layouts_settings", even you choose option "Don't use a layout", if you agree, we can take it as a feature request, our developers will evaluate it.

Currently, you can try these:
1) Same as you mentioned above, create a new page and delete the old one.
2) Or you can remove this custom field from your database table "wp_postmeta" directly

#922567

Yes, please add it as a feature request.

If it didn't have an effect on the page output the functionality driven by the hidden field would go unnoticed. However, the fact that the page output is affected and isn't able to be corrected using the provided controls leads one to believe something is broken and not functioning properly.