-
AuthorPosts
-
October 25, 2017 at 7:02 pm #868891
We have a site with the latest wordpress, latest Enfold and php 7.1. However, using the advanced layout editor, once I enter text into a text box and need to click back in to edit, it just shows me the default as if I had not entered anything. Also, I have a layout with 2 columns. one is a code block the other is a map. The page displays fine when you view it but when you go back into the editor, the advanced layout editor rearranges it on the page? I have tried to update the page again after fixing it, still reverts back. I have added memory to wordpress and we only have Ninja forms as plug-ins. that is it. It was having issues with the text editor not allowing me to update the text before I updated to the latest version of Enfold. I did that thinking that was the issue. Please advise,
ThanksOctober 27, 2017 at 7:04 am #869411Hey cyber13,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply. Also please point out where we can see the problem.
Best regards,
RikardOctober 27, 2017 at 3:21 pm #869614Two examples I will give are the contact us page and the services page. The contact us page is where the columns keep combining into 1 no matter what you do and you cannot edit anything in the text box. The services page you cannot edit in text box. It just shows you the default editor as if you never put anything there. Not all pages do this but those are two for you to look at.
Thanks,
October 30, 2017 at 4:59 am #870295Hi,
There are a few unclosed html tags inside the code block. Please be careful with html codes, make sure that all tags are closed properly.
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
Best regards,
IsmaelOctober 30, 2017 at 3:18 pm #870501ok, that would solve that issue. what about the other where I cannot edit anything in the text box? and it just shows default content instead of what is in there? Check the services page for this specific issue.
October 30, 2017 at 3:32 pm #870512Actually, I looked and that is not missing div tags. Look again. This is the code from Schema. Also the content box on this page is doing the same thing I was explaining that was happening on the services page. You click in it and it only shows you “add content here” when there is already content there.
October 30, 2017 at 3:38 pm #870516I am just trashing this page and starting a new one. It is working on a new page. Must be something corrupt on that page. That may just be the way around this for now. Not going to be great to go in and reproduce all of the pages having this issue but hopefully there aren’t that many. The content was imported from another site using the wordpress importer if that helps for future issue troubleshooting.
ThanksNovember 1, 2017 at 6:16 am #871075Hi,
Thanks for the feedback. So your new page is working and you are fine with using that instead?
Best regards,
RikardNovember 1, 2017 at 9:52 am #871115Advanced layout editor not working at enfold child theme except “Page” and “Portfolio items” Please see this article but we are not able to implement this one. You are requested to implement the same so that we can have advanced layout editor facility with all the pages like Community, Industry, Testimonial etc. Link for your article where you have mentioned that advanced layout editor will only work for Page and Portfolio Items please confirm https://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/ .
- This reply was modified 7 years, 1 month ago by jennaeddy.
November 1, 2017 at 3:29 pm #871274it’s only working fine if I start over with a new page. The text editor is just not working on some pages. I am letting you know about it for future reference in case someone else would have trouble but for now I will just re-do the pages so we can get the site live as quickly as we can. Thanks
November 2, 2017 at 12:10 pm #871614This reply has been marked as private.November 3, 2017 at 4:49 am #871964Hi,
What is the name of the custom post types? You have to include it in the filter as explained in the documentation.
add_filter('avf_builder_boxes', 'add_builder_to_posttype'); function add_builder_to_posttype($metabox) { foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { $meta['page'][] = 'post'; /*instead add the name of the custom post type here*/ $meta['page'][] = 'customposttype'; /*instead add the name of the custom post type here*/ meta['page'][] = 'anothercustomposttype'; /*instead add the name of the custom post type here*/ } } return $metabox; }
Replace “post” with the name of the custom post type.
Best regards,
IsmaelNovember 9, 2017 at 8:36 am #874545This reply has been marked as private.November 9, 2017 at 8:38 am #874548This reply has been marked as private.November 9, 2017 at 12:24 pm #874615This reply has been marked as private.November 10, 2017 at 6:35 am #875018Hi,
You should add the custom post type name in the following lines.
$meta['page'][] = 'post'; /*instead add the name of the custom post type here*/ $meta['page'][] = 'customposttype'; /*instead add the name of the custom post type here*/ meta['page'][] = 'anothercustomposttype'; /*instead add the name of the custom post type here*/
Replace “post”, “customposttype” and “anothercustomposttype” with the actual name of the custom post types. If you only have one custom post type, remove the other lines.
Best regards,
IsmaelNovember 10, 2017 at 8:03 am #875050This reply has been marked as private.November 10, 2017 at 9:23 am #875062This reply has been marked as private.November 11, 2017 at 5:52 am #875427This reply has been marked as private.November 13, 2017 at 4:11 am #875921Hi,
Looks like you already changed the lines. Is it working?
$meta['page'][] = 'industry'; /*instead add the name of the custom post type here*/ $meta['page'][] = 'building'; /*instead add the name of the custom post type here*/ $meta['page'][] = 'employer'; /*instead add the name of the custom post type here*/ $meta['page'][] = 'communities'; /*instead add the name of the custom post type here*/
If you can’t see the advance layout builder on the custom post type items, please create a new thread and provide the login details in the private field.
Best regards,
IsmaelNovember 13, 2017 at 9:47 am #876003Dear Ismael
Urgent help needed.
No sir this is not working with this code please check and do it as we have today deadline to fix it.
I am giving you the user name and password
- This reply was modified 7 years, 1 month ago by Basilis. Reason: Hiding Details at Private
November 13, 2017 at 2:44 pm #876116This reply has been marked as private.November 14, 2017 at 8:11 am #876487Hi,
The advance layout builder for the custom post types is available but it’s not working properly because of the following errors. Please upgrade the theme to version 4.2.
tinymce.min.js?ver=4603-20170530:13 Uncaught TypeError: Cannot read property ‘nodeName’ of null
at o.setContent (tinymce.min.js?ver=4603-20170530:13)
at o.load (tinymce.min.js?ver=4603-20170530:13)
at o.show (tinymce.min.js?ver=4603-20170530:13)
at e (load-scripts.php?c=0&load[]=jquery-ui-sortable,jquery-ui-droppable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,underscore,shortcode,backbone,wp&load[]=-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,suggest,wp-ajax-response,jquery&load[]=-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,word-count,post,hoverIntent,common,t&load[]=hickbox,media-upload,admin-bar,quicktags,heartbeat,autosave,editor-expand,media-audiovideo,mce-view,imgareaselect,image-edit,svg&load[]=-painter,wp-auth-check,jquery-ui-tabs,editor,wplink,wp-embed&ver=4.8.3:736)
at HTMLDocument.(load-scripts.php?c=0&load[]=jquery-ui-sortable,jquery-ui-droppable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,underscore,shortcode,backbone,wp&load[]=-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,suggest,wp-ajax-response,jquery&load[]=-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,word-count,post,hoverIntent,common,t&load[]=hickbox,media-upload,admin-bar,quicktags,heartbeat,autosave,editor-expand,media-audiovideo,mce-view,imgareaselect,image-edit,svg&load[]=-painter,wp-auth-check,jquery-ui-tabs,editor,wplink,wp-embed&ver=4.8.3:736)
at a (tinymce.min.js?ver=4603-20170530:2)
at HTMLDocument.p (tinymce.min.js?ver=4603-20170530:2)
at Object.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable&ver=4.8.3:3)
at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable&ver=4.8.3:9)
at HTMLButtonElement.(load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable&ver=4.8.3:3) Best regards,
IsmaelNovember 14, 2017 at 11:39 am #876545This reply has been marked as private.November 16, 2017 at 4:28 am #877343Hi,
? Is there any affect after upgrading this theme please clarify if so? will same webpage continue or changed?
As long as you didn’t modify any of the parent theme files directly, the update should not affect the site or the theme options. Please review the following documentation and article on how to update the theme.
// https://kriesi.at/documentation/enfold/updating-your-theme-files/
// https://kriesi.at/archives/the-complete-guide-to-updating-enfoldI have accordion shortcode but dont know where the same coming from and I have to edit the content, links and images of this shordcode but not able to find the location of this short code?
Are you using the default editor? Search for the “av_toggle_container” shortcode.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.