yoav.aner
Forum Replies Created
-
What did you switch to? also finding the upgrade extremely frustrating. Sticking to older version for now, but looking at other options.
Forum: Plugins
In reply to: [Glossary] strlen bug with RTL languages?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.
Forum: Plugins
In reply to: [Glossary] strlen bug with RTL languages?<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>Forum: Plugins
In reply to: [Glossary] strlen bug with RTL languages?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.
Forum: Plugins
In reply to: [Glossary] strlen bug with RTL languages?I just tested with Kanji and it seems to work ok, but not with Hebrew. The website is set to Hebrew/RTL.
Forum: Plugins
In reply to: [Glossary] strlen bug with RTL languages?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?
Forum: Plugins
In reply to: [Glossary] strlen bug with RTL languages?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
strlenseems 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_8function 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.
Forum: Plugins
In reply to: [Glossary] strlen bug with RTL languages?I tested with Hebrew and it’s broken. Changing
gt_get_lento simplyreturn 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.
Forum: Plugins
In reply to: [Ajaxize] Multiple ajax calls on same pageI 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 HomepageHi there,
Unfortunately this is not something that Ajaxize can help with. It wasn’t designed for this purpose.
Cheers,
YoavForum: Plugins
In reply to: [Japanized for WooCommerce] bugs on recent version of pluginSorry. False alarm. It was a mistake we made when overriding the email template. It works just like before 🙂
Forum: Plugins
In reply to: [Japanized for WooCommerce] bugs on recent version of pluginupdate: 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.
Forum: Plugins
In reply to: [Japanized for WooCommerce] japanese translationsWe 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…
Forum: Plugins
In reply to: [Ajaxize] bbpress forum ajaxI’m not familiar with BBPress, but it doesn’t sound like something Ajaxize would be suitable for unfortunately.
Cheers,
YoavForum: Plugins
In reply to: [Ajaxize] Ajaxize not pulling fresh dataGlad to hear you figured it out, Ben.