camiller
Forum Replies Created
-
Hi Robert,
Here is the answer of the dev team of my theme:
Unfortunately I have bad news I have spent a few hours trying to make the plugin work.
But I didn’t manage to do so.
From a technical point o view that is impossible. I had a few ideas which involved reloading the javascript of the plugin to force it parse the content and reset the maps. But I’ve noticed that the javascript is being generated directly into HTML. I tried to parse the HTML get the javascript and eval it to make it work after each ajax request, depending on what map you are. Now this has two flaws, first that eval is evil and second that I couldn’t find the exact position of the javascript to re-parse it again. Therefor this wasn’t a good solution. Lastly I tried to modify the plugin so that it would load the javascript files. But this had another issue, the plugin didn’t want to load the content throwing an error that the script was already instantiated. Which is true due to the fact that the request was coming from ajax, and it should have retriggered the script. That means that when the page is being loaded firstly, even though there is no map on the page (for example contact) the plugin will still initialize itself. And wouldn’t allow another instance of itself. Which I hoped would happen after an ajax request. I have removed all errors and fixed, your older issue with the contact form so it wouldn’t throw any errors. And the plugin still didn’t work. And it shouldn’t because it wasn’t created with ajax in mind.
In conclusion I can only suggest you to disable ajax. Yes you will have to sacrifice the music but at least you will have all the functionality you want to keep.
Thank you and sorry for making you wait.
-DennisWhat do you think about that?
Thanks!
Thanks Robert for your answer. I’ll check with the theme developper.
best,
Camille
Forum: Plugins
In reply to: [Fast Secure Contact Form] BETA : regex seems not workingOh I see… In the previous versions, I think it actually worked, that’s why I posted that note.