aurovrata / cf7-polylang Goto Github PK
View Code? Open in Web Editor NEWContact Form 7 Polylang extension
License: GNU General Public License v2.0
Contact Form 7 Polylang extension
License: GNU General Public License v2.0
I select the desired translation (red ellipse), then click save. The translation field (red ellipse) just clears and nothing happens. The two forms are not being associated.
Right now the only two things the plugin does is
The warning leads me to Polylang settings. But there is nothing I can do there. The Foms are already checked and the checkmark is read-only:
As it stands, I lose no functionality if I disable the plugin, on the contrary, as a bonus I get rid of the nagging warning.
Is what the plugin seems to be currently doing, back and front end.
This is problematic because the method includes a call to api.wordpress.org
cf.
cf7-polylang/includes/class-cf7-polylang.php
Line 178 in 76916fb
@diggy any idea how to get rid of the javascript popup when navigating away from a saved translation cf7 form? (Screenshot #4 on the plugin page)
I tried a few support forums but found no answer. The problem I believe arises from the fact that the CF7 form editor page is a custom page which does not follow the WP std for post editing. I inject javascript in the footer to dynamically render the Polylang translation metabox on page load. As a result the WP javascript magic that checks if a page modification has been saved captures the changes in the polylang input fields, but does not register its ajax saving process (handled by the polylang plugin).
Since you have some experience with WP maybe you have a idea to solve this at the javascript level?
The only way I can think of resolving this is to redesign the CF7 form edit page by hijacking the page on the sub-menu.
Clean up the translation mechanism
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.