• Resolved Brandon Ernst

    (@brandonfire)


    Hi there,

    We’re the developers behind the plugin Domain Mapping System, and we’re attempting to build a free integration with Yoast SEO into our plugin.

    https://ww.wp.xz.cn/plugins/domain-mapping-system/

    The goal is that for each domain, the stores values for SEO, meta, description etc would also be unique for the domains attached to the page. We are building out this functionality and have run into the below issue, as described by our development team. If you can please help with this, we would greatly appreciate it! Or please kindly direct me to the best resource where we can get this solved, as we’ve already attempted to post on Github as well.

    https://github.com/Yoast/wordpress-seo/issues/20534

    Please see the attached screenshots.
    In that screen ( and also generally ) we have implemented our customization based on the plugin’s suggested filters/hooks.
    The problem we have is: “How do we properly modify the values of the highlighted input areas, in a way to keep the change in memory ( from the JS perspective ) ?

    In other words, how can we avoid losing the changes after the user live interacts with the options in that page.” Right now we are doing the change directly into HTML which is not enough of course, cause Yoast keeps the value of those fields as JS objects. So, if you can please inform us how to properly can change the value of the JS objects outside of you plugin in order to keep the change active and not lose the change after some user interaction with the page, that would be extremely helpful.

    The point is that we want to implement an accurate Yoast integration in our plugin. In terms of PHP, we are carefully using hooks and filters suggested by your plugin, but the help we need is hidden in the JS suggestion from your side.

    Thank you very much in advance for your help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Modifying Values via JS’ is closed to new replies.