Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AndyDesigns

Members
  • Joined

  • Last visited

  1. Unfortunately that tutorial doesnt include actually sending the form data to a recipient mail in the PHP. I've tried finding other AJAX Form tutorials but they either don't show you how to process the form data via PHP or dont include a modal. If anyone can point me in the right direction it would be appreciated.
  2. Thanks I thought Ajax may be the only way. I'll look into it although I'm not every familiar with it.
  3. Thats my point though, I don't want to redirect the user at all. I just want them to be able to press submit and then stay on the current page.
  4. Hi, I'm using materialize.css (http://materializecss.com/modals.html) to display a modal/pop-up Form on page load. I have the modal displaying fine and submitting data via PHP. However, I want the pop-up to just close after submit instead of the user being redirected to another page. I've tried having it redirect back to the current page but this re-opens the pop-up again. Below is my PHP: <?php $email_to = "mail@domain.co.uk"; $name = $_POST["name"]; $email_from = $_POST["email"]; $tel = $_POST["tel"]; $message = $_POST["message"]; $email_subject = "Feedback from website"; $headers = "From: " . $email_from . "\n"; $headers .= "Reply-To: " . $email_from . "\n"; $message = "Name: ". $name . "\r\nTel: " . $tel . "\r\nMessage: " . $message; ini_set("sendmail_from", $email_from); $sent = mail($email_to, $email_subject, $message, $headers, "-f" .$email_from); if ($sent) { header("Location: http://domain.co.uk/test.html"); } else { echo "There has been an error sending your comments. Please try later."; } ?> Any help greatly appreciated. Wasn't sure whether to post in this section or JS so please move if in the wrong place.
  5. But they dont support http/2 which means you'll get a slight performance hit on any sites you enable LE. The having to manually renew also doesnt sound good, I'm sure most LE integration on other hosts do this automatically.
  6. I am also considering moving some domains from TSO Host mainly due to poor performance especially with Wordpress sites. Had a chat with guru.co.uk and they seem really good and UK based. Does anyone have any experience with them?
  7. So far I’ve tried the following code but this changes the posted data to No when the checkbox is both checked or unchecked: // define the wpcf7_posted_data callback function action_wpcf7_posted_data( $array ) { $value = $array['further-marketing']; if( !empty( $value ) ){ $array['further-marketing'] = "No"; } return $array; }; // add the action add_action( 'wpcf7_posted_data', 'action_wpcf7_posted_data', 10, 1 ); Any help would be greatly appreciated.
  8. Would still really appreciate any help with this. Thanks.
  9. Hi, I'm using Contact Form 7 on a site and need to alter the checkbox submitted data. The checkbox has a label called 'Tick here if you dont want to receive further marketing', when this is checked the value sent in the admins notification email displays the checkbox label. So it looks like: Tick here if you dont want to receive further marketing: Tick here if you dont want to receive further marketing I want to alter it so when its checked the value posted is No. I believe I can use the following action hook to achieve this but I dont know how to check if the checkbox has been ticked within this function and modify its value. Any help much appreciated. // define the wpcf7_posted_data callback function action_wpcf7_posted_data( $array ) { // make action magic happen here... }; // add the action add_action( 'wpcf7_posted_data', 'action_wpcf7_posted_data', 10, 1 );
  10. I think this is now fixed, it was just because I wasn't fully declaring the font-family, originally it was font-family: 'Open Sans' !important; its now font-family: 'Open Sans', sans-serif !important;
  11. Thanks for this, it seems ridiculous that Apple would apply such a restriction on font variants. I know the theme loads several variants of Source San Pro its default font. But that still wouldnt explain why Open Sans is displaying but only on the home page.
  12. Thanks, that confirms there is still an issue then.
  13. Can anyone else with an Iphone confirm that Open Sans isnt displaying? - as I've had a response from theme tech. support along with screenshots showing the font IS displaying on Iphone 5s and Iphone 6, I'm now thinking it may be some kind of caching issue.
  14. Just thought I'd mention the font displays fine on my android phone so its definitley an IOS/Safari issue and not a general 'Phone' device issue.
  15. Unfortunately I dont have an Iphone of my own to try that (although hope to get one soon), I had to borrow my brothers Iphone 5c to confirm the issue. My business partner first noticed the issue with his Iphone 6 so I know its not a problem with a specific phone.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.