-
AuthorPosts
-
January 28, 2020 at 4:10 pm #1179059
Dear Support,
we have massive problems with last Update of LuckWP Table of Contents, combined with Enfold
If content is in a normal section before TOC, like a heading, then the page isn’t longer full width with color section.
If the short code is in a color section and a color section with headings is before the TOC section, then all works fine.Here is the comment from the Developer
I found problem.
From version 2 in LuckyWP Table of Contents for headings processing used DOM. For correctly work in filter the_content need correct HTML. In most cases, the HTML content is correct.
In Enfold theme in file template-builder.php on line 100:
$content = apply_filters(‘the_content’, $content);
Content is incorrect HTML (some tags are not closed and there are extra closing tags).Try connect with Enfold support. I hope they can fix it.
January 30, 2020 at 4:16 am #1179674Hey S.,
Thank you for the inquiry.
Did he specify which tags are not closed properly? Is it working when you put the TOC element inside another section? Please provide a link to the page containing the elements so that we can inspect them.
Best regards,
IsmaelFebruary 5, 2020 at 3:02 pm #1181789Dear Ismael: Enfold: You are the dev, LuckWP Table of Contents: Most used plugin for TOC, it’s free.
Setup: it’s described. It’s not more than write a h1 and a h2 without any other options as to play with fullwidth and normal sections
For testing: I’m sure it’s better you debug this at your page. You can invite me to make a setup at your dummy page. At my clients pages: i have not a insurance and an agreement for third-party devs and give credentials to other persons.
February 9, 2020 at 3:56 am #1182681Hi,
Sorry for the delay. We can’t seem to reproduce the issue on our end. We also tried adding the theme’s TOC widget along with the plugin’s and it worked fine. Please check the screenshot below.
Screenshot: https://imgur.com/a/XR6rx0T
Please provide a link to a page where the issue occurs so that we can check the markup.
Best regards,
IsmaelFebruary 9, 2020 at 4:59 pm #1182778Excuse me. I see no full width layout. I see blog layout without any color section to compare.
Please take a look into the detailed described and mentioned setup. Folder access is PW protected
- This reply was modified 4 years, 10 months ago by Hokuspokus.
February 12, 2020 at 2:55 am #1183722Hi,
Thank you for the info.
Looks like the plugin prematurely closes the whole section, but we can’t figure out why or how. We tried to check the value of the $content, but we didn’t find any incorrect markup.
// https://pastebin.com/VLA01bJn
Content is incorrect HTML (some tags are not closed and there are extra closing tags).
Please ask the plugin author which tags are not being closed properly. Since they already figured it out, it will be a lot easier if they could provide that info.
Have you tried using the theme’s TOC widget instead?
Best regards,
IsmaelFebruary 12, 2020 at 1:58 pm #1183873Dear Ismael, thanks for investigation., The Dev has marked the php and the line, see my Quote.
But: If the heading is inside a color section with a text box inside: all is fine.
If only a text box or a text box within a normal section are above the TOC: Only than this error occurred.
Can you check please text box element and 1/1 section?I remember: We had similar stuff in the past with CMINDS CM Tooltip Glossary Pro. That was the same.
It was a ping pong over month and years with unclosed tags and massive programming stuff for think around the edge, if I remember.
This plugin parsed also the content of the page.Best
S.
February 17, 2020 at 11:47 am #1185170Hi,
Thank you for the info.
We tried to debug the issue but we can’t find the invalid markup. The plugin actually messes up the ALB layout even if the TOC widget is not present in the page, or if the Autoinsert feature is not enabled. Unfortunately, this is beyond the scope of support. You will have to keep in touch with the plugin developer and ask them to help debug the issue further.
Temporarily, you can use the theme’s TOC widget in place of the plugin’s.
Best regards,
IsmaelFebruary 17, 2020 at 12:53 pm #1185195Hi Ismael,
ok, I have moved all contents into color sections to prevent this.
Enfold has a TOC? Oh, ok. But I can’t exclude massive headlines, which should not shown. TOC-Plugin has many more options to be individual.
This would add too much work to the code, which I must insert to cover and fix other enfold issues. This is not an option, thanks.best
S.
February 18, 2020 at 5:36 am #1185539 -
AuthorPosts
- The topic ‘Possible Bug Report – LuckyWP Table of Content’ is closed to new replies.