daymobrew
Forum Replies Created
-
No logs, just not working.
Version 4.9.1.
From changelog: Maybe these items:
– changed and optimized postmeta saving process to reduce number of rows by up to 80% per event,
– added cache optimization for event and location loading,The EM_Event::save() code has changed quite a bit between 5.7.3 and 5.8.
Have you been able to try the code I posted?
Put it into a file in the root folder and run that url from the browser.I looked at the database before and after I clicked “Update” in the Edit Event page.
Before:
– No row created in ${prefix}_em_events table
– _event_id is null in postmetaAfter:
– Row is created in ${prefix}_em_events table
– _event_id is set to index of this new row
– _event_start_time and _event_end_time have the ‘seconds’ portion set to 0 (this is not a problem for me but just a bit strange).
– _edit_lock and_edit_last postmeta is created.Thank for you that. I see the code in load_products.js. I might do some debugging to see why it is not working on my site.
Can you explain how it works with respect to .woocommerce-pagination?
Does it hide it?With some information I might be able to debug it.
True, the include_front() function should probably check for is_category() or something similar.
The include_admin() function should check that ‘page’ is set before looking for its value.
For example:
if ( ( array_key_exists( ‘page’, $_GET ) ) && ( $_GET[‘page’] == ‘br-load-more-products’ ) ) {Forum: Plugins
In reply to: [AdRotate Banner Manager] Removing ads on specific pagesI do not think that AdRotate can do this. I think that you will have to hide or exclude the widgets on those pages.
You could do it by CSS but that might record the ads as viewed.
Maybe something like this will work:.category-gambling .adrotate_widgets { display: none; } .category-gambling .a-single { display: none; }Forum: Plugins
In reply to: [Simple Social Icons] Cannot have 2 widgets because of css in headI hope that you will consider my pull request:
This is great news.
Please mark this topic as “Resolved” so that the plugin author knows that it is finished.
I got your code to work.
My form has:[dynamictext dynamichidden-715 "CF7_URL"] [submit class:btn class:btn-primary "Invia"]I used ‘dynamictext’ so that I can see the url in the form. I recommend doing that during testing.
This forum changes the quotes characters to pretty versions – they are not the same as the double quotes you will use in the form editor.
Also, you can change ‘dynamichidden-715’ to a nicer name e.g. ‘form-url’ and then use [form-url] in the mail. It makes it easier to read and understand the fields in the mail.
If you still have trouble then I’ll give you access to the test site where I have it working.
Forum: Plugins
In reply to: [Contact Form 7 - Dynamic Text Extension] size=40 – not valid“Size” doesn’t make sense in a hidden field. Just remove it.
You could change the short form to use method=”GET” instead of method=”POST” and the form ‘action’ to first users to the longer form.
Then use fields like the following in the long form:
[dynamictext checkin-date "CF7_GET key='checkin'"] [dynamictext checkout-date "CF7_GET key='checkout'"] [dynamictext adult-count "CF7_GET key='adults'"] [dynamictext room-count "CF7_GET key='rooms'"]In the Mail tab of the longer form you will have:
Check-in Date: [checkin-date] Check-out Date: [checkout-date] Adults: [adult-count] Room: [room-count]BTW, I am not the author, I just felt that I could answer this question.
- This reply was modified 9 years, 3 months ago by daymobrew. Reason: Add code backticks for readability
I am not the plugin author.
I don’t think that you need this plugin for this.
You could use a regular Contact Form 7 text field for the company name, ensuring that it has an ID.
Then you could add an empty ‘div’ to the form (or 4 of them, one for each font).
Then write some javascript to popular the div(s) with the content of the company name text time.For example, something like:
jQuery( '#companyname' ).on( 'blur' , function(){ company_name = jQuery( this ).value; jQuery('#div1').text = company_name; jQuery('#div2').text = company_name; jQuery('#div3').text = company_name; jQuery('#div4').text = company_name; });This code will not work but I hope that you get the idea.
You will use CSS on #div1 to set font-family: Lato and similar for the others.Your output is what the shortcode should be. Just add this to the form:
[dynamichidden dynamichidden-715 “CF7_URL”]
This is shown in an example on the plugin page (it uses ‘dynamictext’ instead).