Mobile Version of site only shows up on my mackbook pro 13"

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Dec 11, 2012 11:38 pm
Reply with quote
Report this post
I have a macbook pro 13 inch and when I visit the site http://www.g5ive.com it only loads the mobile version of the site rather than the desktop version. Any way you to change this? No matter the browser or full screen it always loads the mobile version.
User avatar
Gold Boarder

teitbite
Wed Dec 12, 2012 3:20 am
Reply with quote
Report this post
Hi

This maybe a cache issue. Please disable cache and clear it just to check if it makes a difference.
User avatar
Moderator

GK User
Wed Dec 12, 2012 9:30 am
Reply with quote
Report this post
didnt fix the issue. I even tried on separate browsers and it only loads the mobile site.
User avatar
Gold Boarder

teitbite
Thu Dec 13, 2012 1:51 pm
Reply with quote
Report this post
Hi

Ok. We need to meet on skype so You share a screen with me and I'll be able to see this website on Your computer. Hopefully than I'll be able to figure something out. My skype account is teitbite
User avatar
Moderator

GK User
Mon Dec 17, 2012 3:10 am
Reply with quote
Report this post
When can we skype.. I just purchased a 15" macbook pro and the problem still exist...Only the mobile version of the site loads :(
User avatar
Gold Boarder

GK User
Mon Dec 17, 2012 5:12 pm
Reply with quote
Report this post
This is the version of the site that loads on my macbook pro 15" w/ Retina

Image
User avatar
Gold Boarder

teitbite
Tue Dec 18, 2012 2:10 am
Reply with quote
Report this post
Hi

I got the exact Mac You bought. So it looks like it's a cache issue after all. Site is loading a view saved from cache from last visit with mobile. Please check this article about cache configuration https://www.gavick.com/documentation/jo ... ce-plugin/
User avatar
Moderator

GK User
Tue Dec 18, 2012 2:18 am
Reply with quote
Report this post
teitbite wrote:Hi

I got the exact Mac You bought. So it looks like it's a cache issue after all. Site is loading a view saved from cache from last visit with mobile. Please check this article about cache configuration https://www.gavick.com/documentation/jo ... ce-plugin/



I followed these instructions and cleared my cache in google chrome and safari and the mobile version continues to load :(
User avatar
Gold Boarder

GK User
Tue Dec 18, 2012 2:24 am
Reply with quote
Report this post
teitbite wrote:Hi

I got the exact Mac You bought. So it looks like it's a cache issue after all. Site is loading a view saved from cache from last visit with mobile. Please check this article about cache configuration https://www.gavick.com/documentation/jo ... ce-plugin/


When you go to my site, which version loads?
User avatar
Gold Boarder

GK User
Tue Dec 18, 2012 6:36 pm
Reply with quote
Report this post
anyone with any knowledge on how to fix this issue please post a solution. This is causing me to lose time and money.
User avatar
Gold Boarder

teitbite
Wed Dec 19, 2012 12:33 am
Reply with quote
Report this post
Hi

Sorry, but if it's not a cache problem than I really am out of ideas. Here is a screen how it looks on my Mac.
User avatar
Moderator

teitbite
Wed Dec 19, 2012 12:36 am
Reply with quote
Report this post
Hi

Ok. I may have something to lead to solution. I've checked validation errors and there are 2 errors messing with right css and I believe it can be related. Please check Your site and try to fix them. I think it happened during template modifications so check the files You've been changing.
User avatar
Moderator

GK User
Wed Dec 19, 2012 12:59 am
Reply with quote
Report this post
Where did you see these errors? Maybe I can try and figure it out. Why if it is a cache problem this problem can't be fixed? Is it a template side error?

More importantly , is there a way to disable the mobile version?
User avatar
Gold Boarder

GK User
Wed Dec 19, 2012 2:18 am
Reply with quote
Report this post
I solved the problem by finding the mobile.css and tablet.css files and erasing all the code inside of them then saving. This seems to have fixed my problem. Anyone else having this issue, try this :)
User avatar
Gold Boarder

teitbite
Wed Dec 19, 2012 2:59 am
Reply with quote
Report this post
Hi

What You did is not a solution, becauase now You have lost a responsive functionality and propably broke template on mobile and tablet. Anyway if it helped that means than issue is where validation errors were pointing. Because it's close to the place where this files are being loaded. It's not cache if problem is still there with cache OFF. It's also not a template issue because demo is not showing this validation errors. It must have happened during modfications. My guess somewhere in /layouts/blocks/head.php or /layouts/default.php and unclosed html tag or something like that.

You can check validation under: http://validator.w3.org/
User avatar
Moderator

GK User
Wed Dec 19, 2012 3:05 am
Reply with quote
Report this post
teitbite wrote:Hi

What You did is not a solution, becauase now You have lost a responsive functionality and propably broke template on mobile and tablet. Anyway if it helped that means than issue is where validation errors were pointing. Because it's close to the place where this files are being loaded. It's not cache if problem is still there with cache OFF. It's also not a template issue because demo is not showing this validation errors. It must have happened during modfications. My guess somewhere in /layouts/blocks/head.php or /layouts/default.php and unclosed html tag or something like that.

You can check validation under: http://validator.w3.org/


I have never modified the head.php or default.php files... I wish I could have the template function as it was intended but this is what I'm faced with. I have not changed up any files recently, but I noticed this problem on my new macs. Either way, I'll keep experimenting since there seems to be no real solution.. I appreciate you teitbite ..
User avatar
Gold Boarder

teitbite
Wed Dec 19, 2012 10:31 pm
Reply with quote
Report this post
Hi

head.php file is basically keeping <head></head> content. It was my guess that You have modified it. If not than I believe one of extension must have added a wrong code there. Anyway it will be hard to notice it. Have You done any changes to /layout/default.php file ?
User avatar
Moderator

GK User
Thu Dec 20, 2012 2:35 am
Reply with quote
Report this post
teitbite wrote:Hi

head.php file is basically keeping <head></head> content. It was my guess that You have modified it. If not than I believe one of extension must have added a wrong code there. Anyway it will be hard to notice it. Have You done any changes to /layout/default.php file ?


No sir :(
User avatar
Gold Boarder

teitbite
Fri Dec 21, 2012 2:07 am
Reply with quote
Report this post
Hi

Ok. Please revert Your changes and I'm gonna show this to programmers.
User avatar
Moderator

GK User
Fri Dec 21, 2012 4:24 am
Reply with quote
Report this post
teitbite wrote:Hi

Ok. Please revert Your changes and I'm gonna show this to programmers.


Ok..if they need access, i'll create a username for them. I really want to get this solved considering I use Gavick for all my template needs.
User avatar
Gold Boarder

teitbite
Fri Dec 21, 2012 5:45 pm
Reply with quote
Report this post
Hi

I've talked to programmers and I have a small test for You. Please open this link with the same computer You have this iPad view problem http://demo.gavick.com/joomla25/creative/ . And let me know if the same problem is there. If YES than it's a template issue if NO, than a module or customization.
User avatar
Moderator

GK User
Sat Dec 22, 2012 5:58 am
Reply with quote
Report this post
teitbite wrote:Hi

I've talked to programmers and I have a small test for You. Please open this link with the same computer You have this iPad view problem http://demo.gavick.com/joomla25/creative/ . And let me know if the same problem is there. If YES than it's a template issue if NO, than a module or customization.



This link shows up as a mobile site also :S
User avatar
Gold Boarder

GK User
Sat Dec 22, 2012 5:59 am
Reply with quote
Report this post
teitbite wrote:Hi

I've talked to programmers and I have a small test for You. Please open this link with the same computer You have this iPad view problem http://demo.gavick.com/joomla25/creative/ . And let me know if the same problem is there. If YES than it's a template issue if NO, than a module or customization.



This link shows up as a mobile site also :S

Image
User avatar
Gold Boarder

teitbite
Sat Dec 22, 2012 5:51 pm
Reply with quote
Report this post
Hi

Ok. Thank You. I'm going to ask programmers about it than.
User avatar
Moderator

teitbite
Tue Dec 25, 2012 12:23 pm
Reply with quote
Report this post
Hi

I have a confirmation that a proper fix will be available soon.
User avatar
Moderator

GK User
Wed Dec 26, 2012 12:28 am
Reply with quote
Report this post
teitbite wrote:Hi

I have a confirmation that a proper fix will be available soon.

Thank you. I need that :)
User avatar
Gold Boarder

teitbite
Fri Dec 28, 2012 2:47 pm
Reply with quote
Report this post
Hi

I have an information that a fix has been released. Please update the template.
User avatar
Moderator

GK User
Fri Dec 28, 2012 4:06 pm
Reply with quote
Report this post
teitbite wrote:Hi

I have an information that a fix has been released. Please update the template.


I have asked this many times with no answer... how in the heck do I update my templates? Please teitbite explain and I will be forever grateful to you man!! :shock:
User avatar
Gold Boarder

teitbite
Sat Dec 29, 2012 3:54 pm
Reply with quote
Report this post
Hi

To update simply download the latest version of a template open the page with updates details https://www.gavick.com/index.php?filter ... Itemid=399 and overwrite each mentioned file via ftp following all missing updates.

But please wait with this update yet. I've just noticed that a fix is done to demo page only, there is still no package files prepared.
User avatar
Moderator

teitbite
Sun Dec 30, 2012 5:16 pm
Reply with quote
Report this post
Hi

I've got Your mail. Will explain update process on an example:

Let say You have installed version called 3.6 . First You need to open this page to see all version available: https://www.gavick.com/index.php?filter ... Itemid=399

Than follow each link to the version informations and copy files from newest doenload of a template to the server via ftp according to the list of the files modified.

In practice You will have to update files mentioned in updates: https://www.gavick.com/updates/template ... 5,960.html and https://www.gavick.com/updates/template ... 5,988.html
User avatar
Moderator

GK User
Sun Dec 30, 2012 5:25 pm
Reply with quote
Report this post
teitbite wrote:Hi

I've got Your mail. Will explain update process on an example:

Let say You have installed version called 3.6 . First You need to open this page to see all version available: https://www.gavick.com/index.php?filter ... Itemid=399

Than follow each link to the version informations and copy files from newest doenload of a template to the server via ftp according to the list of the files modified.

In practice You will have to update files mentioned in updates: https://www.gavick.com/updates/template ... 5,960.html and https://www.gavick.com/updates/template ... 5,988.html


Ok thanks. Any idea when the update for this template will be released. My client has been asking me about the mobile versions of their site and I can only tell them to wait, but I don't know how long I can stall. lol
User avatar
Gold Boarder

teitbite
Sun Dec 30, 2012 6:16 pm
Reply with quote
Report this post
Hi

I believe this should be out this week. Fix is prepared it only awaits to be set as a package to download.
User avatar
Moderator

GK User
Tue Jan 22, 2013 8:45 pm
Reply with quote
Report this post
teitbite wrote:Hi

I believe this should be out this week. Fix is prepared it only awaits to be set as a package to download.


Can't believe I am still waiting on this update.. any status on release?
User avatar
Gold Boarder

teitbite
Wed Jan 23, 2013 1:12 am
Reply with quote
Report this post
Hi

I believe it has been released already. Have You tried to update the template ? I'm going to ask programmers what happened to this fix if it's not there. It's for sure ready.
User avatar
Moderator

teitbite
Wed Jan 23, 2013 8:12 am
Reply with quote
Report this post
Hi

Bartek just confirmed that fix has been updated already. Please update Your template.
User avatar
Moderator

GK User
Mon Jan 28, 2013 7:45 pm
Reply with quote
Report this post
I've updated to 3.7 template version. I just want to disable all mobile and tablet views. I want the WHOLE site to load up just like it does on the computer. I've already tried to change all the values to 1020px wide but nothing changed. Please post a fix asap. I really need this.
User avatar
Junior Boarder

teitbite
Tue Jan 29, 2013 11:32 am
Reply with quote
Report this post
Hi

This is not so simple. So I may miss something explaining:

1. Please edit /layout/default.php, find this line:

Code: Select all
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2.0">


and replace it to:

Code: Select all
    <meta name="viewport" content="width=1020px">


2. In the same file edit this line:

Code: Select all
<body<?php echo $tpl_page_suffix; ?><?php if($this->browser->get("tablet") == true) echo ' data-tablet="true"'; ?><?php $this->layout->generateLayoutWidths(); ?>>   


to

Code: Select all
<body<?php echo $tpl_page_suffix; ?><?php $this->layout->generateLayoutWidths(); ?>>   


3. Delete all content from /css/mobile.css and /css/tablet.css


Please show me the page when You finish, so I'll see if anything else should be changed.
User avatar
Moderator

GK User
Tue Jan 29, 2013 9:01 pm
Reply with quote
Report this post
The website is www.sentry-financial.com. Thanks man. Looks perfect. You're a lifesaver.
User avatar
Junior Boarder

teitbite
Wed Jan 30, 2013 12:52 pm
Reply with quote
Report this post
Hi

Och, so it works :) I was pretty sure it would require some more changes. Glad it's ok now :)
User avatar
Moderator

GK User
Wed Jan 30, 2013 7:11 pm
Reply with quote
Report this post
Nope. it works perfect. Would that work for other templates as well?
User avatar
Junior Boarder


cron