philipbutlerfreelance
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Slider Block Gutenslider] Slider vanished from front endHi,
the same problem occurs with W3 Total Cache: I updated Gutenslider to Version 6.1.0 along with W3 Total Cache Version 2.6.1 and the same JS error Uncaught (in promise) ChunkLoadError occurs. Disabling W3 Total Cache allows the slider to load.
PS: Currently developing the CF7 Smart Grid v5.0 which is a big rewrite of the plugin. Its now in beta stable mode, with v5.0.0beta11 released for testing. If you have some time to spare, I would very much appreciate some help in testing it out.
Absolutely! As it happens I need to re-design a ‘check availability’ form on one of my sites, the plan was to turn it into a multi-step form (not quite sure how to yet). I’ll install your v50.0beta11 onto my localhost for testing.
Hi,
quick update, my last lot of errors may have been due to a caching problem; cache cleared and the plugins don’t cause any errors. It looks like it was just the one file name problem. Thanks for all your support…. a donation is on its way. ??
Just tried updating the Smart Grid plugin and the front end is now working. Furthermore I updated php to v8.0 and the site is still working.
I’ve just modified Modified wp-content/plugins/post-my-contact-form-7/admin/class-cf7-2-post-admin.php line 90 to include the correct file name on the live server running php v8.2.10 and wordpress v6.3.2 and everything is running okay. (I think).
Modified wp-content/plugins/post-my-contact-form-7/admin/class-cf7-2-post-admin.php line 90
OLD
require_once plugin_dir_path( dirname(?FILE?) ) . ‘assets/cf7-admin-table/admin/class-cf7-wp-post-table.php’;
NEW
require_once plugin_dir_path( dirname(?FILE?) ) . ‘assets/cf7-admin-table/admin/class-cf7sg-wp-post-table.php’;Now getting a new set of errors shown on the Gist page
Trying to help you as much as I can. I’ve just installed a working version of the site onto my localhost running php 7.4
Tried updating Post My CF7 Form to 6.02 first before doing the Smart Grid plugin. It triggered fatal errors on the front end, I’ve updated the Gist with the new errors from my localhosthttps://gist.github.com/butlerps/60af1b4384b683d111a641d865096ac4
hope it helps.
Not sure if I’ve done this right but here are the error logs https://gist.github.com/butlerps/60af1b4384b683d111a641d865096ac4
Hi,
I’ve just installed a working backup (pre plugin update) of the site onto a PHP 8.x hosting package to rule out php.
Bizarrely it is now CF7 Smart Grid Design Extension that seems to trigger the critical error.[ Deleted ]
- This reply was modified 1 year, 1 month ago by philipbutlerfreelance.
- This reply was modified 1 year, 1 month ago by philipbutlerfreelance.
- This reply was modified 1 year, 1 month ago by Jan Dembowski.
Forum: Plugins
In reply to: [Post My CF7 Form] clear dropdown select2 fields after post submissionJust to clarify, I was using the cf7 DOM event ‘wpcf7submit’ for testing as this fires whether the form is complete or not. for production you should use ‘wpcf7mailsent’
document.addEventListener( 'wpcf7mailsent', function( event ) { console.log ('form submitted'); $('.wpcf7-select').val(' ').trigger("change"); }, false );
Awesome! Thanks for adding the information, it’s handy to know just in case.
Forum: Plugins
In reply to: [Post My CF7 Form] clear dropdown select2 fields after post submission[EDIT}
Ha! Thanks for that, I’ve been looking at the select2 docs all morning and managed to figure it out.document.addEventListener( 'wpcf7submit', function( event ) { $('.wpcf7-select').val(' ').trigger("change"); }, false );
I was having problems initially with
$('.wpcf7-select').val(null).trigger("change");
as it would clear the field and replace it with the select2 default value of ‘—‘Adding the space in the val(‘ ‘) fixed the problem
- This reply was modified 2 years, 11 months ago by philipbutlerfreelance.
- This reply was modified 2 years, 11 months ago by philipbutlerfreelance.
Cool business site you have!
Thanks, that much appreciated; I had loads of fun shooting videos for each of the weather conditions (had to wait 12 months to see the snow video appear haha).
Actually it is working, but hidden below the modal.
Doh! why didn’t I think of that before contacting you! Thanks for the css solution, I’ve added it to my child-theme css and everything is working perfectly! I’ve had a quick look ad the ‘recommended’ way but not sure how I’d implement it so will stick with the css method for now.
Thanks for your uber fast reply, a donation (as a token of my thanks) is on it’s way.Hi,
I’m not sure whether it’s related or not but I can’t get conditional fields to trigger based on a dropdown select box value thats being populated by Map form fields from the form to post plugin .It works fine with a text input value and a select box that has option values set within CF7 so I guess my coding is correct.
<div class="container"> <div class="row"> <div class="columns full cf7sgfocus"> <div class="field"><label>Resource type</label>[select kb-resource-type] <p class="info-tip">Enter a valid email</p> </div> </div> </div> </div> <div class="container"> <div class="row"> <div class="columns full"> <div class="field select"><label>Test Select</label>[select test-dropdown "value 1" "Value 2" "Miscellanious"] <p class="info-tip"></p> </div> </div> </div> </div> <div class="container"> <div class="row"> <div class="columns full"> [group group-year] <div class="field text"><label>Year</label>[text kb_resource_year placeholder "Example: 2019"] <p class="info-tip">Year of publication</p> </div> [/group] </div> </div> </div>
My conditions are set to the following
show [group-year] if [kb-resource-type] equals “Miscellaneous”
show [group-year] if [test-dropdown] equals “Miscellaneous”
show [group-year] if [resource-title] equals “Miscellaneous”Note [kb-resource-type] options are being populated by Map form fields from the form to post plugin
[test-dropdown] options are coded within CF7
[resource-title] is a text area.All plugins and WP install are up to the latest versions
Any ideas where I’m going wrong?
Cheers!—-UPDATE—-
I’ve realised since posting that when a select field is populated by Map form fields from the form to post plugin that the value of the option is the id of ‘term’ so I need to use the ID in my conditions rather than the option text. Everything is working fine now. Sorry to have bothered you!- This reply was modified 3 years, 1 month ago by philipbutlerfreelance.
- This reply was modified 3 years, 1 month ago by philipbutlerfreelance.
- This reply was modified 3 years, 1 month ago by philipbutlerfreelance.
- This reply was modified 3 years, 1 month ago by philipbutlerfreelance.
- This reply was modified 3 years, 1 month ago by philipbutlerfreelance.
Hi Sweta,
thanks for your reply. Your suggestion only works with the image set to background, I want to have the image at the top with the CTA as the complete box (the same as the Info Box Behaviour).Thanks,
PhilipForum: Plugins
In reply to: [The Events Calendar] Inherit Theme’s FontsAs a matter of interest, why do you set your own fonts anyway? Surely this is something that should me managed by the theme and not your plugin. Instead of having a plugin to inherit themes fonts perhaps you should update the main plugin so as it doesn’t have any fonts and then if needs be have a plugin that sets your own font should anyone want them.