Forum Replies Created

Viewing 15 replies - 1 through 15 (of 129 total)
  • What did you switch to? also finding the upgrade extremely frustrating. Sticking to older version for now, but looking at other options.

    Thread Starter yoav.aner

    (@yoavaner)

    Can you point me to the test suite? If it’s easy enough to set up a test environment and run it, I can try to see if I can reproduce it on there.

    Thread Starter yoav.aner

    (@yoavaner)

    <div class="entry-content wp-block-post-content has-global-padding is-layout-constrained wp-block-post-content-is-layout-constrained"><p>Check if you can do <span class="glossary-tooltip glossary-term-299" tabindex="0"><span class="glossary-link"><a href="https://haideberlin.com/glossary/aterm/" target="_blank" class="glossary-only-link">ATerm</a></span><span class="hidden glossary-tooltip-content clearfix"><span class="glossary-tooltip-text">אבגדהוזחטיכלמנסעפצקרשת <a href="https://haideberlin.com/glossary/aterm/">More</a></span></span></span> with the apartment</p>
    
    
    
    <<span class="glossary-tooltip glossary-term-301" tabindex="0"><span class="glossary-link"><a href="https://haideberlin.com/glossary/bterm/" target="_blank" class="glossary-only-link">BTerm</a></span><span class="hidden glossary-tooltip-content clearfix"><span class="glossary-tooltip-text">This is Term B <a href="https://haideberlin.com/glossary/bterm/">More</a></span></span></span>o check with the BTerm about facilities</p></div>
    
    <div class="entry-content wp-block-post-content has-global-padding is-layout-constrained wp-block-post-content-is-layout-constrained"><p>Check if you can do <span class="glossary-tooltip glossary-term-299" tabindex="0"><span class="glossary-link"><a href="https://haideberlin.com/glossary/aterm/" target="_blank" class="glossary-only-link">ATerm</a></span><span class="hidden glossary-tooltip-content clearfix"><span class="glossary-tooltip-text">This is A term <a href="https://haideberlin.com/glossary/aterm/">More</a></span></span></span> with the apartment</p>
    
    
    
    <p>Also check with the <span class="glossary-tooltip glossary-term-301" tabindex="0"><span class="glossary-link"><a href="https://haideberlin.com/glossary/bterm/" target="_blank" class="glossary-only-link">BTerm</a></span><span class="hidden glossary-tooltip-content clearfix"><span class="glossary-tooltip-text">This is Term B <a href="https://haideberlin.com/glossary/bterm/">More</a></span></span></span> about facilities</p></div>
    Thread Starter yoav.aner

    (@yoavaner)

    Not a Premium customer, but it looks like a bug to me, and I have a feeling the implementation can be simplified. Thanks so much for responding quickly, Daniele. Happy to share some HTML snippets if it helps.

    Thread Starter yoav.aner

    (@yoavaner)

    I just tested with Kanji and it seems to work ok, but not with Hebrew. The website is set to Hebrew/RTL.

    Thread Starter yoav.aner

    (@yoavaner)

    As I said, I’m not that familiar with PHP, but I imagine text substitution is more-or-less a solved problem. I imagine using some kind of templating?

    If I provide access to a page that is broken, what can you test more than looking at the HTML? or would you need admin/backend access?

    Thread Starter yoav.aner

    (@yoavaner)

    I can share the HTML output for now? but once you look at the HTML it’s quite clear that the bug is related to the length calculation. The HTML gets garbled based on the length of the term excerpt. Maybe it’s something on my system, but I’m not sure what it is. Changing to use strlen seems to work on my system with different languages. I can also check with other unicode characters.

    In general, I’m curious why the replace_with_utf_8 function needs length at all. Can this be simplified by using a template instead?

    • This reply was modified 2 years, 3 months ago by yoav.aner.
    Thread Starter yoav.aner

    (@yoavaner)

    I tested with Hebrew and it’s broken. Changing gt_get_len to simply return strlen($stringtomatch) seems to fix it and works with English glossary terms or Hebrew.

    The site I’m working on isn’t live, but I tested with a glossary term with Hebrew, e.g. אבגדהוזחטיכלמנסעפצקרשת in the term, and then having two terms on a page, the first one pointing to the Hebrew one, and then second to another term (Hebrew/English), and the HTML gets broken as a result.

    Plugin Author yoav.aner

    (@yoavaner)

    I guess a way around it is to create a different function (and a different ajaxize div) for category pages.

    Forum: Plugins
    In reply to: [Ajaxize] Ajax Homepage
    Plugin Author yoav.aner

    (@yoavaner)

    Hi there,

    Unfortunately this is not something that Ajaxize can help with. It wasn’t designed for this purpose.

    Cheers,
    Yoav

    Thread Starter yoav.aner

    (@yoavaner)

    Sorry. False alarm. It was a mistake we made when overriding the email template. It works just like before 🙂

    Thread Starter yoav.aner

    (@yoavaner)

    update: after upgrading again from 1.2.0 to 1.2.1, we can save the settings, but the email still doesn’t include the bank details that were there before.

    Thread Starter yoav.aner

    (@yoavaner)

    We found the problem. It wasn’t inside the translations, but in the settings of the checkout method (under woocommerce->settings->checkout->bank payment in japan). Somehow the text was in English by default…

    Plugin Author yoav.aner

    (@yoavaner)

    I’m not familiar with BBPress, but it doesn’t sound like something Ajaxize would be suitable for unfortunately.

    Cheers,
    Yoav

    Plugin Author yoav.aner

    (@yoavaner)

    Glad to hear you figured it out, Ben.

Viewing 15 replies - 1 through 15 (of 129 total)