Hi.
In the url you give us, where I should do click to see the popup? a quick view to you HTML I can see the popup code is not present in this page.
If you have problems to edit the popup in the admin panel, maybe it be by Gutemberg, you can install the Disabled Gutemberg plugin to spucpt Post Type.
Regards
Thread Starter
thinxx
(@thinxx)
Hi gonzalesc
Thanks for the speedy response and apologies that the pop-up did not show on that url.
It is set to a 5 second time delay and this is part of the issue.
You can view the pop-up directly here:
https://dohiphop.com/spucpt/registration/
What you will notice is that the signup button works perfectly on the page until 5 seconds later, when the pop-up shows. The code and look are exactly the same, however the button inside the popup doesn’t work at all and there is no link present in the button?
I have now gone back to PHP 7.0.0 and deleted/ re-installed the plugin. I’ve also optimised my db to avoid any issues.
I use disable gutenburg on all of my sites and even tried the “classic editor” plugin, however the results are the same, in that I do not have access to the text editor. I then went back to “disable gutenberg” and there is no option to disable the “spucpt” post type and I only have an option to disable the post by ID. I put the correct ID but I still can’t access the text editor.
I am using elementor… is this an issue?
Anyway, I hope to hear back from you soon, so I can get this up and running because apart from the button not working; I really like the functionality of the plugin and need to get it up and running again quite urgently.
Have an awesome day!
Hi.
We have 2 options:
1) If your shortcode allow you put class name as attribute in the form, then you must put this class called "spu-disable-ajax“. The internal code that will show your shortcode will be : <form class="... spu-disable-ajax">
2) If you shortcode not allow you put class name as attribute, then create a container with class called "spu-disable-ajax" . The code will be:
<div class="spu-disable-ajax">
[your-shortcode]
</div>
Regards
Thread Starter
thinxx
(@thinxx)
Hi gonzalesc
Thank you again for the response and suggested solution.
I have tried both methods and both are unsuccessful.
– If I use the 1st method it doesn’t change anything and the link/button is still not clickable.
– If I use method 2, it prints everything(the html) outside of the shortcode to the page as I cannot access the text editor for you plugin.
I’m hoping there is another way…? thanks again
Hi.
What is the URL where you put this code?
I tried https://dohiphop.com/spucpt/registration/ but is still not exists.
Regards
Thread Starter
thinxx
(@thinxx)
Apologies gonzalesc.
that url is now live again using the 1st method
this is the exact shortcode I am using:
[ms-note type=”info”][/ms-note]
[ms-note type=”info”][/ms-note]
[ms-membership-signup class=”spu-disable-ajax“.]
looking forward to your response.
cheers.
Hi.
I do a search of the word “spu-disable-ajax” in all you HTML but it is not present.
Maybe your shortcode is not accepting parameters.
Could you apply the 2nd method?
Regards
Thread Starter
thinxx
(@thinxx)
Cool, I have done so, you can have a look.
cheers.
Ok, I can see your container print it in your website.
you must put the container in HTML mode in your Wordperss editor.
https://imgur.com/a/F0A9EFQ
Regards
Thread Starter
thinxx
(@thinxx)
that’s what I’ve been saying.
I can’t enable the text editor/ html in the plugin.. it doesn’t work
Thread Starter
thinxx
(@thinxx)
Hi gonzalesc
As I said, the text editor does not work…
https://www.dropbox.com/s/58ccseowqj8gi14/Screenshot%202019-03-18%2016.39.51.png?dl=
is there another solution or will there be an update to the plugin any time soon?
It is stuck in visual mode and I therefore cannot edit the code.
I hope to hear back from you soon.
Regards
Hi.
It happens we can not reproduce your error in our test environments.
In your last screenshot, If you click in the “text mode”? Can you do it or it shows error?
Regards
Thread Starter
thinxx
(@thinxx)
Hi
When I click on html nothing happens at all.
I can see the following error in dev tools:
Uncaught TypeError: Cannot read property ‘alterClass’ of undefined
/**
* Updates on position change
*/
$(‘#spu_position’).on(‘change’, function(){
var $editor = SPU_ADMIN.spu_editor,
val = $(this).val();
//update editor
**$editor.alterClass(‘spu-position-*’, ‘spu-position-‘+ val )**
if( val == ‘top-bar’ || val == ‘bottom-bar’) {
$editor.find(‘.spu-box-container *:not(“p, .spu-fields-container, .spu-fields-container *”)’).remove();
}
});
i have indicated the error above with ** ** as per dev tools.
Let me know what you think.. Thanks.
Hi.
Well is stranger error. Do you can clear cache please?
In the console log, please type SPU_ADMIN.spu_editor and tell to us if it show empty or it has values.
Do you are using Disabled Gutemberg?
Regards
Thread Starter
thinxx
(@thinxx)
Hi
Cache is disabled in developer tools and cleared with hard reload.
when I type into the consol and hit enter:
SPU_ADMIN.spu_editor
> a.fn.init [body#tinymce.mce-content-body.content.post-type-spucpt.post-status-publish.page-template-default.lo…, selector: “html #tinymce”, prevObject: a.fn.init(1), context: document]
That list does expand though, please let me know if you’d like the full expansion?
Again, I do not use Gutenberg and have the Disable Gutenburg plugin installed and activated.
Looking forward to your response.
Have a great day further.