Robert Keahey
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Error messages showing up in multiple placesI found a workaround by setting the display for the screen-reader-response class to “none”.
.screen-reader-response {display: none; }
But I’m still curious if there is a config parameter I may be missing that would allow me to turn off the messages that appear at the top of the form.
Thanks
Forum: Plugins
In reply to: [Edge Suite] Windows Edge browser issues?Ti2M,
Thanks for your suggestions. Appears that it may be theme related (Souffle’) and specific to Windows Edge. I’ll let you know if I’m able to find the ultimate resolution.
Robert
Forum: Plugins
In reply to: [Edge Suite] Windows Edge browser issues?Ti2M,
Thanks! Understand the time commitment you have put into the plugin, and really appreciate it.
I’ll try your suggestions and see if anything turns up. Will post findings here.
Thanks again!
Robert
Hi Paul,
I’ve been using the plugin and it seems to be working ok, except for the new Windows 10 Edge browser. All other platforms I’ve tried it on work ok.
I haven’t had much luck with responsive mode yet though, but am still working on it.
Here’s a link to an example: http://www.cplanenetworks.com/openstack-cloud-bursting/
Which version of Edge Animate? Can you post your publish settings? That might help. Are you saving your project in a folder structure (“Save in a folder?” option checked on first save)? That was a problem for me early on.
Forum: Plugins
In reply to: [Email Before Download] list of file names downloaded for emailI thought you just put a [your-message] field in the CF7 email message, but that doesn’t seem to be working in the latest release. Working with EBD release 3.2.9, CF7 release 3.9 and WP 3.9.1
Forum: Plugins
In reply to: [Contact Form 7] Response message shows twice, why?I’m having the same problem. The following div is being inserted:
<div class=”screen-reader-response” role=”alert”>Your message was sent successfully. Thanks.</div>
The problem also occurs when there are errors for invalid field data. The errors are displayed at the top of the form as well as after each field in error. See below.
<div class=”screen-reader-response” role=”alert”>Validation errors occurred. Please confirm the fields and submit it again.
- Please fill the required field.
- Please fill the required field.
- Please fill the required field.
- Email address seems invalid.
</div>
I’m not a JS person, so I wouldn’t know where to look.
Forum: Reviews
In reply to: [Forms: 3rd-Party Integration] Good job guysI failed to mention that I’m using it with Contact Form 7 and salesforce.com. I’m also using the Email Before Download plugin that’s integrated with Contact Form 7 and Download Monitor. Worked just fine.
Yep – the solution that M&S implemented in the last release works great. No longer need for CSS override.
Good job guys!
Forum: Plugins
In reply to: [Plugin: Email Before Download] – my head hurtsYep – I duplicated the </br /> in my test site and it produced the same errors.
Looks like a simple fix!
PS – the M&S Consulting guys are very responsive. Kudos!
Hi @totallylaura,
If you post as new topic as suggested by @esmi, please include the shortcode so we can take a look at it.
Thx
R
Forum: Plugins
In reply to: [Email Before Download] Add pdf icon near link downloadElisa,
Unfortunately Contact Form 7 doesn’t use the Label tag on input fields, so there’s really no way to use CSS tricks to create custom checkboxes, which could contain your PDF icon.
But… if you want to do code modification, then you can make the following changes to email-before-download.php (V3.2.7)
Add the following code right before line 194:
$ckboximg = ‘<img src=”http://www.yourdomain.com/wp-content/uploads/2013/11/youricon.png” width=”16″ height=”16″ />’;
Obviously change the URL to point to your PDF icon.
Then change the original line 194 and 195 to the following:
$chekboxes .= ‘
‘ . $d->title. ‘ <input type=”‘.$checkbox.'” ‘.$checked_state_html.’ name=”ebd_downloads[]” value=”‘. $dl_id . ‘”/>’ . $cboximg;$chekboxesL .= ‘
‘ . $ckboximg. ‘ <input type=”‘.$checkbox.'” ‘.$checked_state_html.’ name=”ebd_downloads[]” value=”‘. $dl_id . ‘”/> ‘. $d->title;This should add your icon before each checkbox (line 195 for left justified checkboxes) or right after each checkbox (line 194 for right justified checkboxes). If you want to move the icon to the other side of the checkbox then just mod the statements accordingly.
You can change the “width” and “height” in the <img> statement to fit your desired look and feel.
This solution puts the image right next to the check box, so if you want a little space between the two you can either modify your icon to have some “white space” on the right or left side, or you can use some CSS to create a margin for the checkbox. Something like this (for line 195 above as an example.
.ebdrk input[type=checkbox] {
margin-left: 12px;
}Hopefully this will work!
PS: Again, just a reminder. Making mods to the code can cause upgrade problems. So if you do make the changes, keep a separate records of them so you can go back an re-apply after upgrading!
Forum: Plugins
In reply to: [Email Before Download] CSS box outline for Email input fieldA quick and dirty fix would be to wrap your Email Before Download short code tag in a div statement and then use a CSS override to set the border. Something like:
<div class=”fixitquick”>
[email-download download_id=”xxx” contact_form_id=”xxx”]
</div>Then use a custom CSS plugin (e.g., PC Custom CSS) and add a statement to match the border on the “Your Name” field:
.fixitquick input[type=email] {
border: 1px solid #e0e0e0;
}But I may be getting the impression that this is just a Contact Form 7 question. Are you actually trying to download a file or just send them an email? If latter, should probably post this on Contact Form 7 forum.
Forum: Plugins
In reply to: [Email Before Download] CSS box outline for Email input fieldThe CSS tag for the email field is set to border:none.
Have you done any CSS overrides (custom CSS)?
Can you cut and paste the content of your Contact Form 7 form so we can take a look at it?
Elisa,
Sorry I didn’t answer your question earlier. I’ve been looking at the code and trying to figure out why the <ebd_left /> short code (tag) that you can place in the Contact Form 7 was not working – at least when you use the “Hidden Form” option (#13) in Email Before Download. Turns out there appears to be a logic error. Line 258 of version 3.2.7 of email-before-download.php is as follows:
$f->appendXML($chekboxes);
This places the input type=’checkbox’ before the download file name. If you want the checkboxes on the left, the replace line 258 with the following:
$f->appendXML($chekboxesL);
This is a quick and dirty fix and should be used ONLY if you want to use the hidden form and want the checkboxes on the left. Or, you can leave it as-is and use the CSS solution I provided above. By using the latter you hopefully won’t get caught by changes in subsequent releases. But, on the other hand you will probably run into browser compatibility problems…
With respect to KM’s suggestion, I’ll leave it to him to answer. I’m not sure what version he coded against and I would probably need to do some more research to answer your question correctly. So while my solution(s) don’t give you all the options as KM’s, they at least clean up the checkbox on the left problem for hidden forms.
Thanks KM! My solution doesn’t do all the cool things yours does though!
Before I starting hacking code, has anybody “cracked the code” so to speak on styling the email messages? The current messages have no line breaks, etc. I know I should start another thread, but thought I would check here first.