-
AuthorPosts
-
December 7, 2016 at 11:50 pm #721742
Hi there
I’ve enabled the advanced layout builder on some custom post types and that works fine but there is one issue. If I enable the advanced layout builder on my post and add some content, when I save and the page reloads, the advanced layout builder isn’t enabled. I just see the normal editor with a whole bunch of shortcodes.
Is there any way to turn the builder on by default when it’s already been selected? It work for normal pages but not for custom post types.
Cheers
December 9, 2016 at 7:30 am #722332Hi twitchdevelopment!
Thank you for using Enfold.
How did you enable the advance layout builder for your custom posts types? Did you read the following documentation?
// http://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/
Best regards,
IsmaelDecember 11, 2016 at 9:15 pm #722863Yup I did. I’ve implemented it exactly as shown in that link. The actual builder works, it’s just that it reverts to the standard editor after saving.
December 14, 2016 at 5:37 am #724092Hi,
Please provide the login details here so that we can check it. Is this happening on every posts?
Best regards,
IsmaelDecember 14, 2016 at 5:45 am #724098Yep it’s happening on every post. If you go into Lessons you can edit any one of those. Lessons have been added by the sensei plugin, but I’ve been having the same issue on other sites with custom post types.
December 17, 2016 at 9:59 am #725660Hi,
The site requires a .htaccess login credentials. Please post it in the private field as well.
Best regards,
IsmaelDecember 19, 2016 at 3:31 am #725935Hmm, that’s a bit odd. We haven’t set up any .htaccess rules that should require that. I did speak to my hosting provider and they were also unaware of anything going on. I know they do have some pretty tight security on some of their servers though and they asked if you could provide the following:
- A screenshot of the .htaccess login screen
- The country you’re trying to log in from
It seems a bit odd that you would be presented with .htaccess login and we wouldn’t a. Can you even see the site, or does that require .htaccess also?
December 22, 2016 at 4:10 am #727368Hi,
This is the screenshot.
And you can find our locations here.
Best regards,
IsmaelJanuary 9, 2017 at 12:01 am #730927Hi Ismael
Turns out our host does have a security measure for those overseas. Apparently if you open it in a browser other than chrome it shows a basic logic test but in chrome it requires htaccess authentication. Anyway I’ve put the username/password details in the private content
Cheers
January 11, 2017 at 7:03 am #731894Hi,
Thank you for the info. I was able to login to the site but I’m not sure why it doesn’t switch to the advance layout builder automatically. I will ask Kriesi to check this. Please wait for his response.
Best regards,
IsmaelJanuary 24, 2017 at 11:29 pm #737989Hey guys, any update on this?
January 30, 2017 at 10:49 pm #740439Hey guys, just letting you know I’ve figured out what was wrong. I found a stray filter on avf_builder_active that was setting things to be false.
Cheers
February 4, 2017 at 7:51 am #742690Hi,
Sorry for the delayed response and glad that you fixed it. Can you tell us what file the stray filter on avf_builder_active is located, as well as post the code. Thanks again for your patience.
Best regards,
NikkoFebruary 6, 2017 at 7:52 pm #743543Hey Nikko
It was more a stray filter on my end. I had used avf_builder_active to stop the ALB from overriding core templates on the frontend ( e.g. so that the user could still use the advanced layout builder on the backend but their content was constrained to a template ) but I didn’t realise that the same filter was used on the backend to check whether to load the ALB by default or not.
Cheers
February 11, 2017 at 7:00 am #745693 -
AuthorPosts
- The topic ‘Advanced Layout Builder on custom post doesn't open by default’ is closed to new replies.