Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charts not loading with Load with Ajax based theme #155

Open
ReHWolution opened this issue Jun 20, 2021 · 13 comments
Open

Charts not loading with Load with Ajax based theme #155

ReHWolution opened this issue Jun 20, 2021 · 13 comments

Comments

@ReHWolution
Copy link

Hi J! Sorry to bother you once again! I'm currently running JNews (updated to the latest version), and it seems like when I set an article loading method in "Load with Ajax", the charts won't appear on the pages of those very articles. Is there a missing call to render out charts?
Thanks in advance!

@methnen
Copy link
Owner

methnen commented Jun 20, 2021

This usually means an issue with the JavaScript not being loaded try putting it in iframe mode and see if it works.

@ReHWolution
Copy link
Author

I'm sorry, how may I do that?

@methnen
Copy link
Owner

methnen commented Jun 21, 2021

It’s in the M Chart settings panel:

https://ps.w.org/m-chart/assets/screenshot-2.png?rev=2529219

Enable iframe embeds.

@ReHWolution
Copy link
Author

By doing so they just stop loading on any load method. Do I also need to change something in the shortcode?

@methnen
Copy link
Owner

methnen commented Jun 21, 2021

No, if that were going to fix it. It would have just worked.

I'd have to look at what the Load with AJAX stuff is actually doing.

Is this up anywhere in a test site or staging site that I can take a look at?

@ReHWolution
Copy link
Author

@methnen
Copy link
Owner

methnen commented Jun 21, 2021

No I mean your specific install/instance/usage.

I'd want to look at a page that should have a chart and see what happens and what's in the pages code.

It's hard to diagnose an issue like this in the abstract. :)

@ReHWolution
Copy link
Author

Understandable hahahaha!
I'll get back at you on wednesday since we've been running Prime Day offers and can't really have our website offline, is that ok for you? I'll provide you with a temporary user with admin rights and all :)

@methnen
Copy link
Owner

methnen commented Jun 21, 2021

Whatever works for you. Your web provider doesn't provide staging server setups I take it? That's ideal as I'd definitely not want to take your site offline at all for something like this.

@ReHWolution
Copy link
Author

Oh unfortunately there is no such option. I'm on a rented VPS, but don't worry, you're doing a lot already!

@methnen
Copy link
Owner

methnen commented Mar 18, 2023

Closing as I believe we resolved this offline?

@methnen methnen closed this as completed Mar 18, 2023
@ReHWolution
Copy link
Author

ReHWolution commented Mar 18, 2023 via email

@methnen
Copy link
Owner

methnen commented Mar 18, 2023

Haha, sorry then, I'm reopening. Bug me about this next week and I'll see if I can figure out a way to resolve it for you?

@methnen methnen reopened this Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants