jpowersdev
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] tabs display the same contentClosing in favor of your most recent thread – https://wordpress.org/support/topic/the-in-my-product-description/
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] Inline Submit ButtonHi @clifhaley,
It looks like the form is just too wide for that spot. Even though it’s “inline”, it’s wrapping to the next line.
You can fix that by using flexbox. Here’s an example that only applies to screens above 650px (it looks fine below that):
@media(min-width: 651px){ { .yikes-mailchimp-form-inline { display: flex; align-items: flex-end; // to account for the labels. } } }I only checked the page you sent me, so you’ll need to make sure there aren’t other forms that this interferes with. If you have to make it more specific, you can change the selector like this:
#dime-newsletter-1.yikes-mailchimp-form-inlineLet me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Already registered receive a new tag?Hi @esnzal,
Sorry for the delayed response. You can receive new tags, but the previous list of tags will be overridden. It doesn’t append them.
Let me know if that helps,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] the “?” in my product descriptionHi @visionsub,
So the >= symbol that you’re using here is a Unicode symbol, it’s not regular ASCII text. You can try using the HTML entity version of that symbol, which is ≥
It looks like it works on some of your pages and not on others, so it might be a browser issue as well.
Let me know how it goes,
JonHey @annafjmorris,
First, nice to see you using Nextcloud!
The editors you see on that page are just the built-in TinyMCE editor that comes with WordPress. We haven’t done anything to it other than disable the visual editor for saved tabs, which I can confirm does not work on Firefox. You need to click the “override saved tab” checkbox in order to override the saved tab’s data when saving.
As for Chrome, I’m unable to reproduce any issues with TinyMCE. Do you have any browser extensions enabled? Can you try in Incognito mode and see if the editors are still broken?
Let me know what you find,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Export not including dataHi @danidub,
I’m starting to think this is an encoding issue. The byte lengths of these strings in the serialized data are not what my computer or these external unserialize tools expect them to be, and that could be down to the encoding. If the old site is using a different encoding (ISO and not UTF-8), it would still work on the old server but not the new one.
For example, the content of the first tab is listed as having a byte length s:810, but on my local machine (where I am using UTF-8), the byte count is actually 793. Making that change fixes that error, but then the next content block breaks.
If you have SSH access to the server, you can confirm this by running the
localecommand and checking theLANG=part at the beginning. If this is in fact your problem, you’re going to need to do some sort of conversion during the export process. Fortunately, woocomm has an easily extendable export tool. If you look here, theadd_export_datafunction provides an opportunity to modify the data before it prints to the spreadsheet.You should just be able to modify the encoding of the string and return it. Knowing how to do that requires knowing the original encoding. Alternatively, you can use that function to convert the data from serialized data to something like JSON, which does not store byte length. If you wind up going in that direction, this knowledge base article will help you set up the import part of that process.
Good luck, and let me know how it goes.
JonHi @wideroadby,
I just pushed a new release without that line. If you update the plugin, the notice should disappear.
Let me know if you have any trouble,
JonHi @wideroadby,
Thanks for the heads up. The changes were made to support PHP 8, but that one (as the notice suggests) was not necessary. I’ll revert.
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Export not including dataHi @danidub,
So in the example you sent, your site is treating the entire block of serialized data as a string because it’s not properly formatted data. It seems like the problem here is the export process, not the import process.
If you look in the database on the original site and check the meta for the example you are using, does the meta value line up with what you see in the export spreadsheet? If not, does running that value through the serialized data tool display any errors?
Let me know what you find,
JonHi @keirovantsi, sorry I missed your question.
Do you see any tabs at all on the Saved Tabs page?
When you say they still show up on the products, do you mean that they have remained attached to your products, or that you can see them when using the “add a saved tab” feature?
Do you see any relevant errors in your browser console or your site’s debug log?
This is probably an issue with saving. Do you see any errors in your browser console when you attempt to save a tab? It’s done through ajax, so broken javascript will prevent it from working.
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] custom tab didn’t showHi @jessie1,
If you have a caching plugin, it’s worth trying to clear it. There’s a chance the markup for an empty list of tabs is still cached.
Assuming that isn’t the problem, there is likely a conflict with one of the other plugins on your site. Do you have any other plugins that modify the WooCommerce tabs or any other part of the Edit Product page in your site admin?
Jon
Forum: Plugins
In reply to: [WP REST API Controller] Toggle custom PODS fieldsHi @moyibanez,
Generally, exposing a given meta field to the API requires registering it and creating callbacks for reading and updating. Our plugin does all of that automatically by checking all of the unique meta keys assigned to posts of a given type. If you haven’t assigned data to a given meta key at least once for that post type, our plugin won’t find it even if Pods says it exists.
Let me know if that helps,
JonHi @ekswk,
It doesn’t look like you’re using our plugin, but your theme has this smooth-scroll js file which is interfering with the WooCommerce default scrolling behavior.
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] tabs display the same contentHi @visionsub,
Can you try enabling page-builder compatibility in the plugin settings? Here’s a short article on that – https://yikesplugins.com/knowledge-base/page-builder-compatibility/
Let me know if that helps,
Jon