Git Product home page Git Product logo

cf7-polylang's People

Contributors

aurovrata avatar diggy avatar scherii avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

thekingadn

cf7-polylang's Issues

Associating translated versions is broken

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.
selection_043

Right now the only two things the plugin does is

  1. hide forms in admin for other languages than the one currently displayed (unless "Show all languages" is selected) and
  2. display this warning: "Warning: save contact forms translation in Polylang settings" Can't get rid of this warning no matter what I do. And it shows on each screen in Admin.

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:
image

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.

Alert popup when saving translations in the dashboard

@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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.