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

Everything posted by AndyDesigns

  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.
  16. I would really appreciate any info you could find about it thanks.
  17. Hi, I'm using the Storefront Theme for a build but I've notice the Open Sans font isn't displaying on Iphones. You can see in this screenshot taken from an Iphone 5c that the Login/Register link and sub-Menu is using some kind of generic serif font and not Open Sans: http://prnt.sc/bwu6i7 I've tried adding font-family: 'Open Sans' !important; to various places in my stylesheet but it has no affect. URL: http://tinyurl.com/zrbhp9o Any help would be greatly appreciated as I have not had any response from the Theme Developer's Technical Support.
  18. Hi all, I'm building a Woocommerce site and it needs to show the full breadcrumb trail navigation. Its working fine for the standard Woocommerce products and categories, displaying: Home / Products / Jackets / Product title However, I've created a Custom Taxonomy for Brands which is working fine except for the breadcrumb trail which is only showing the following: Home / Brand / Product title I would like it to display: Home / Products / Brand / Product title So far I have tried changing the rewrite rules in the custom taxonomy to the following: array('slug' => 'products/brand', 'with_front' => false) This worked great for rewriting the URL but the breadcrumb has remained unchanged. Is their anything else I can try to achieve what I want?. My permalink settings are as follows if this helps: Optional Product category base: products/product-category Product Permalinks Custom Base: /products/%product_cat% Any help much appreciated. tia, Andy
  19. I have it working now but it doesnt redirect the user to the mobile version of Facebook, is this possible?.
  20. Hi, The Facebook link in the footer of one of my client's websites is not working on mobiles: http://tinyurl.com/nbx58dl Any help would be really appreciated. Thanks.
  21. Hi, Trying to get the mobile menu to kick in on landscape orientation for iPad but its not working: http://www.manvanglasgow.co.uk/index.html I'm using the following code: @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) { #MenuBar1 { display: none; } #nav-bar { background: none;} .js .selectnav { display: block; width: 90%; margin: 0 auto;} .hs-menu-wrapper {display:none;} } I've tried it with and without the (-webkit-min-device-pixel-ratio: 2) with no joy. Any help much appreciated.
  22. Hi, Whats the best approach to take when making different sections of a Wordpress homepage or any page editable? Visual Page Builder (such as https://siteorigin.com/page-builder/)? Templates and Widgets? Custom Meta Fields? Paste the HTML layout into code editor of Wordpress page editor? I have been using siteorigins page builder for homepages because it's very quick to create a required layout and then use templates with sidebars/widgets for all other pages. But I was wondering what is considered best practice..
  23. Thank you so much! This is the first animated gif I've ever done so hence the daft mistake.
  24. Hi, I have a logo here that I am animating with Fireworks CS5: http://agtdesigns.co.uk/logo.gif Unfortunately there seems to be a slight delay on the last frame, I tried setting the last frame delay to 0 and when playing the animation back in Fireworks it is perfectly smooth. However when exporting the file out the delay is still there. I have the option 'include in export' checked for the last frame so not sure whats going wrong. Any help would be much appreciated. tia, Andy

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.