charlesgodwin
Forum Replies Created
-
I’ve done more reading and the options I reference seem to only control what can be searched. I’m trying to find a way to completely exclude specific events from being displayed in the rolled up list of events.
I don’t want to, but is there a filter that could do it running in main site? Or……?
I don’t consider (and better) is applicable in our application.
We have a site that optionally allows a user to pre-fill first and last name and then get sent to our search page. This is the URL to that page for John Smith. This uses the query string convention described in my original email.
Then, optionally, a user can access our same search page with no query string, like this, and have full search access. We allow them to switch by reloading the page without the query string.
A default where clause would be difficult in this use case
Can I conclude from your reply that the answer to my question is no?
Thanks. I’ll get busy and try not to break anything. ??
thanks. Currently the fix described is still working. I’ll work with the other plugins and see if I can get them to all play nice together
Have you made any progress on this? Thanks
Thanks. I’ll let you know when/if we migrate.
This looks great. Thanks.
There’s a “small” gotcha but I think its OK.
Our site is a multisite with about 35 subsites so I think we would need to do this for each subsite WPDA tables. yes/no?
We also keep a lot of our data in separate databases to protect our WordPress database from unexpected errors. So I think we would need to do this for each of these databases as well. yes/no?
I think it’s not difficult with your scripts but it will be a long script. But much better that UI changes.
I do this by adding this to the advanced options of the WPDA Publication/table
“pageLength”: 1
Forum: Plugins
In reply to: [WP Data Access – App, Table, Form and Chart Builder plugin] Import CSVThanks for the clarification
I was able to test.
First, I ensured I had latest version of CBX plugin.
Then I made a one change in GravityExport Lite.
before
gfexcel.php:64: $is_build = true;
after
gfexcel.php:64: $is_build = false;
My plugins now work as before.
I also tested GravityExport Lite?and it too works.Thank you. I can’t advise a permanent fix, but this will do for now and we’ll make sure GravityExport Lite?plug in is not autoupdate.
thanks for the advice. It may be a couple of days before I can test your suggestions but I will let you know
Forum: Plugins
In reply to: [Booster for WooCommerce] Empty Cart button has stopped workingI’ll contact later today. In about 4 hours
Forum: Plugins
In reply to: [Booster for WooCommerce] Empty Cart button has stopped workingI’m not sure what you need but I’ll try.
When I click on the button the page url changes to this but nothing happens.
https://ogs.on.ca/cart/?wcj_empty_cart=Empty+Cart&wcj_empty_cart_nonce=8aeb3571c1&_wp_http_referer=%2Fcart%2FHere’s the cart page Here’s the setting page
Here is the form code on the page
<form> <input type="submit" class="button" name="wcj_empty_cart" value="Empty Cart" onclick="return confirm('Are you sure you want to clear cart?')"> <input type="hidden" id="wcj_empty_cart_nonce" name="wcj_empty_cart_nonce" value="8aeb3571c1"> <input type="hidden" name="_wp_http_referer" value="/cart/?wcj_empty_cart=Empty+Cart&wcj_empty_cart_nonce=4cfe5f8908"> </form>
Here is an extract from the settings export file
"wcj_empty_cart_enabled": "yes", "wcj_empty_cart_text": "Empty Cart", "wcj_empty_cart_div_style": "float: right;", "wcj_empty_cart_button_class": "button", "wcj_empty_cart_position": "woocommerce_after_cart", "wcj_empty_cart_checkout_position": "woocommerce_before_checkout_form", "wcj_empty_cart_confirmation": "confirm_with_pop_up_box", "wcj_empty_cart_confirmation_text": "Are you sure you want to clear cart?",
I am a WPDA user.
The solution I have found to clear the search when values are in the query string is to add a button to reload the page without the query string.
<button onclick="window.location = window.location.pathname;">Clear All Searches</button>
This clears everything.
Forum: Plugins
In reply to: [Cool Timeline (Horizontal & Vertical Timeline)] UnCaught Type ErrorI got it working with one more change.
I am using PHP 8.1, that may explain the differences.
$ctl_story_type = get_post_meta($post_id, '', true); @ line 51 is returning an array of arrays. See the print_r output below.
I modified line 53 to this:(I added [0])
$ctl_story_date = isset($ctl_story_type[‘ctl_story_date’])?$ctl_story_type[‘ctl_story_date’][0]:”;error_log(print_r($ctl_story_type, true)); [20-Jan-2023 13:32:16 UTC] Array ( [_edit_last] => Array ( [0] => 1 ) [_edit_lock] => Array ( [0] => 1507998950:1 ) [ctl_story_year] => Array ( [0] => 1938 ) [ctl_story_date] => Array ( [0] => 10/14/2017 12:38 ) [story_format] => Array ( [0] => default ) [img_cont_size] => Array ( [0] => full ) [fa_field_icon] => Array ( [0] => ) [tc-thumb-fld] => Array ( [0] => a:2:{s:9:"_thumb_id";b:0;s:11:"_thumb_type";s:10:"attachment";} ) [ctl_story_timestamp] => Array ( [0] => 201710141238 ) )
- This reply was modified 2 years, 2 months ago by charlesgodwin.