Tagged: , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.

    #1179674

    Hey 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,
    Ismael

    #1181789

    Dear 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.

    #1182681

    Hi,

    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,
    Ismael

    #1182778

    Excuse 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.
    #1183722

    Hi,

    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,
    Ismael

    #1183873

    Dear 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.

    #1185170

    Hi,

    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,
    Ismael

    #1185195

    Hi 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.

    #1185539

    Hi,

    Yes, the TOC widget from the theme has its own limitations but it works well in the advance layout builder. We’ll close this thread for now. Please feel free to open a new thread if you need further assistance.

    Thank you for your patience.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Possible Bug Report – LuckyWP Table of Content’ is closed to new replies.