thierrypigot
(Thierry Pigot (FR))
December 1, 2015, 1:58pm
1
Hi,
I try to create my first module, but i’m blocked.
https://github.com/thierrypigot/beaver-builder-googlemaps
When i edit a post, on the refresh after saving my settings, my widget is empty. I think it’s a jQuery conflict, but i can’t found where
If someone had an idea …
Thanks,
Thierry
justin
(Justin Busa)
December 1, 2015, 4:00pm
2
Hey Thierry,
I’m glad to see you’re creating modules! I’ll install that tomorrow and see about what the issue might be. In the meantime, are you developing with WP_DEBUG on? There might be a PHP error breaking things that you’re not seeing if that is not on.
Justin
thierrypigot
(Thierry Pigot (FR))
December 2, 2015, 7:28am
3
I have found the problem, a bug in the erident plugin which return an error (warning) : “headers already send …”.
What is the recommandation to translate a module ?
justin
(Justin Busa)
December 2, 2015, 10:01am
4
Great! Glad to hear you found the bug.
Regarding translation, it’s a bit lengthy, but you’ll want to review this article…
https://codex.wordpress.org/I18n_for_WordPress_Developers
Once your plugin is setup correctly, you can load translations using the info in the Loading a Text Domain section.
Justin
thierrypigot
(Thierry Pigot (FR))
December 3, 2015, 1:14am
5
Ok, it’s like every other dev in WordPress.
Thanks Justin
justin
(Justin Busa)
December 3, 2015, 9:24am
6
Yea, unfortunately, there’s no easy way to do it. But, once you get setup, it’s really nice.