Modal Addon does Not Work On Apple IOS - Question | JoomShaper

Modal Addon does Not Work On Apple IOS

Gez

Gez

SP Page Builder 4 years ago

Hi there,

I'm using SP Page builder to build Landing/Squeeze Pages outside of the Joomla Menu System - i.e. they are simply 'landing' pages that are not linked to through visible menus on the site, nor do they display a menu, in order to keep visitors within a set work flow.

I've encountered 2 main problems on iOS that I need to resolve ASAP:

  1. Input fields are NOT styled at all - especially buttons - i.e. all of the nice looking CSS that loads in desktop appears to be ignored from any form elements on iOS devices.
  2. The modal addon fails to load any content on iOS, and simply renders the content directly on the page, in addition to a virtually unstyled button.

However, there is also another small issue: Despite using a template that only outputs the component (i.e. no menu or other module positions), on mobile, the home menu item appears at the foot of the page. I can see from the inspector, that this is being rendered from the offcanvas menu, but I haven't got it enabled????

I'll attach an image of this, along with how the page looks on desktop with modal working, and on mobile, where it renders the modal content directly on the page.

What I'm trying to achieve is a very simple page with an offer. I'm building a custom opt-in form to display in a modal window when a button on the page is clicked, but unfortunately, this does not work on an iPhone 6 Plus on iOS14.6 nor on the absolute latest iPad/iOS version. For the moment, I'm simply testing the modal with some text 'test'.

On Desktop it looks good!

DESKTOP MAIN

DESKTOP MODAL

On iOS - Not so much

iOS Main

Then there's the 'off canvas' menu that appears down at the footer randomly appears, despite the not being set! iOS Foot Menu (Shouldn't be there)

That's even before looking at how SP Page Builder seems to break the form CSS on iOS. Please see below images: RS Form on Desktop - looks good

On iOS

RS Form on iOS in SP Builder - looks terrible

For a comparison, and to prove that this is SP Builder, and not RS Form, here's how it looks on iOS, in a regular page using Newsberg Template. Just what's going on here with SP Builder? PLEASE HELP to fix this ASAP. iOS RS Form in Newsberg Template

Please can you advise ASAP as this is absolutely critical in this day and age when over 50% of internet traffic is on mobile.

I've attached admin username and a pass for you to access privately.

Many thanks,

Gez

0
24 Answers
Gez
Gez
Accepted Answer
4 years ago #20909

Right,

I think that I've fixed it!

It appears that there is a bug somewhere in SPageBuilder because:

Moving the htaccess rewrite rule for non-www requests ->www. further up my htaccess has fixed it: UPDATE - - - This is the code Rewrite domain.com requests with no subdomain to www.domain.com

RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$
RewriteRule ^(.*)$ www.%{HTTP_HOST}/$1 [L,R=301]

IT MUST execute before the Joomla SEF Section in the HTACCESS!!

Somewhere in the the SP Builder code, the loading and execution of the resources must be done in a non standard way. It is the only reason that this could happen on mobile, but not on desktop.

Please can you confirm that you've not changed anything too, since my last post?

Thanks,

Gez

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20862

Hi there,

Thanks for contacting us. Sorry for the inconvenience. I have checked via iPhone xs. Modal works fine.

File.jpg

-Thanks

0
Gez
Gez
Accepted Answer
4 years ago #20870

hi Toufiq,

Thanks for your reply. Are you still looking into this, because your reply would imply that as far as you're concerned, the matter is closed as it works on the one device you've tried it on?

As I said, I've tried it on the latest iPad too, with the same result as displayed in my pictures.

if you're only supporting the iPhone XS and arent going to remedy the issues on older devices, I'm afraid that I'll have to insist on a refund, as it would require all of my customers to have the XS, to see a web page that doesn't look like it was built in the 90s.

I do hope this isn't the case, and that it can be resolved.

thanks,

gez

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20871

I have checked my end and no problem found. Give me time to investigate your site. Thanks

http://toufiq.net/lms/it/component/sppagebuilder/?view=page&id=11

0
Gez
Gez
Accepted Answer
4 years ago #20872

thanks Toufiq!

i checked your site. works fine.

Im not loading any other template positions except the component output on the page in question. Also, I'm using Newsberg Template FYI.

thanks, Gez

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20878

Please follow the video instructions

https://drive.google.com/file/d/1HwEmKAzw-uVWQHdASGHU31nJaJKBSR56/view

How to run akeeba backup

https://drive.google.com/file/d/16fMwHR2ZAa3yctnP5rn7zm6YlwB7ijQj/view

I have checked your site via this process into my localhost and it works fine. I think your server blocked the resource of page builder properly.

-Thanks

0
Gez
Gez
Accepted Answer
4 years ago #20880

Hi Toufiq,

I already have Akeeba Backup and know how to use it. Can you please explain what the purpose of this is please? Are you simply requesting that I ensure that I have a backup?

If so, I prefer the JPS format. Is there any reason why you have advised that I choose ZIP?

Once you reply, I'll take a backup. But won't for the time being, just in case your reply effects my course of action.

Thanks,

Gez

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20885

Did you watch the video? If you didn't, Please check the both video. Thanks

0
Gez
Gez
Accepted Answer
4 years ago #20886

I did, but I don't understand why you are asking me to do this. Please explain the purpose. Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20887

I have checked your site via this process into my localhost and it works fine. I think your server blocked the resource of page builder properly.

0
Gez
Gez
Accepted Answer
4 years ago #20888

Which resource?

What has Akeeba Backup got to do with this, and specifically, what does installing the free version of it (when I have Pro) and taking a ZIP backup, not a JPS backup, have to do with fixing it?

0
Gez
Gez
Accepted Answer
4 years ago #20889

Also, have you checked on your iPhone in localhost?

0
Gez
Gez
Accepted Answer
4 years ago #20891

Hi Toufiq,

I'm not trying to be difficult here, but I simply don't see the value of installing this in a localhost environment really tells us. A local environment is not the same as a live environment, and is only useful if one doesn't have access to a live environment, OR if the precise configuration can be replicated.

Clearly, you have something configured differently in your localhost to my live environment - a different version of PHP or even some of the modules that are installed/enabled. Unless we know what that difference is, we cannot determine how to fix the issue.

I'm an experienced developer, having worked with Joomla for over 14 years, and I never develop in local for this precise reason. It ensures that I can be certain that what I'm working on, works in live, because mimicking the configuration of a live server in a local install, in almost impossible. It's also harder to access on other network devices (i.e. iPhones) without having to do lots of other configuration, that makes it much less like the true live environment.

Surely, determining the problem in the live environment, is the first and most important step?

Thanks,

Gez

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20896

I have checked your site live server and it works fine.

https://toufiq.net/js/aspire/keto25.html

I think your server blocked to load the page builder resrource.

-Thanks

0
Gez
Gez
Accepted Answer
4 years ago #20897

The question is, which resource?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20902

Page builder resource. Thanks

0
Gez
Gez
Accepted Answer
4 years ago #20906

Toufiq,

I apologise in advance for my tone, but I'm finding it very difficult to keep my cool at the moment when actual answers - specifically, solutions - aren't forthcoming.

I am a web developer and not an idiot. Therefore I know that it is Pagebuilder. That is the category I posted in, right?

  1. Which CSS file and/or Javascript file is not loading?
  2. Why aren't they loading?
  3. What is the FIX?
  4. Have you debugged it on MY server, and if not, why not?

These are the questions that you should be concerned with. People who buy your products aren't buying them in order that they can run them on your localhost, so I ask again, what is being done to fix MY problem?

I need a solution to this ASAP, and would be very grateful if you could keep me posted with your progress.

Thanks,

Gez

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20916

I didn't change anything from your site. Thanks

0
Gez
Gez
Accepted Answer
4 years ago #20919

I tried to post the whole section of the .htaccess so others could see, but because it is commented with pound signs, it wouldn't allow it. Therefore, I've updated my answer above with a better description.

Thanks!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20924

You can share here & share the link

0
Gez
Gez
Accepted Answer
4 years ago #20937

For anyone facing the issues described and who's using Joomla SEF or other, implementing the .htaccess, please check that your non-www -> www redirects (or any other subdomain redirects) take place BEFORE the main Joomla SEF section like in the link!

N.B. The contents of the file are NOT a complete .htaccess. ONLY copy and paste this IF YOU KNOW WHAT YOU ARE DOING!!! .htaccess file - redirect example

0
Gez
Gez
Accepted Answer
4 years ago #20938

Hi Toufiq,

Is there a simple way to use a button link in one addon, to trigger the click of a button for a modal link?

I have a modal button as you know, but I'm trying to use a button in the image/content addon to trigger the same. I know I can achieve this with jQuery or raw JS but want to avoid having to do so every time if there's an easier way, since there's no way to add custom JS within the page directly.

Thanks,

Gez

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #20941

Is there a simple way to use a button link in one addon, to trigger the click of a button for a modal link?

Sorry mate. This feature does not exist.

0
Gez
Gez
Accepted Answer
4 years ago #20944

No worries, custom jQuery it is. Thanks

0