![]() |
Re: xMobile - Smartphone mobile template
Mobile templates should be served based on scren size not device type. There are tables small enough to not fit desktop version of the site as well as smartphones big enough to fit the desktop version. And from certain screen size down there should always be a switch button so user can have a choice what they want to use
|
Re: xMobile - Smartphone mobile template
Quote:
OK, I'll bite. THE PROBLEM I see with serving xMobile to a tablet is that modern desktop templates can look GREAT on an iPad. Even a 7" Kindle Fire. BUT -- a very specific mobile template looks kinda sucky on an iPad. Downright bad. Asking the customer to choose before they enter your site, to me, is an invitation for disaster. But then again, the developer of xMobile encrypted the init.php, so I can't edit it. I don't know the logic they are choosing to use. I'd like to see the settings for init.php set in a config file that the admin can edit. Maybe that would make a better solution? |
Re: xMobile - Smartphone mobile template
That's why iPad shold serve the desktop version base don its screen size. Even 7" tables can server the desktop version again based on screen size not because they are tables. There are smartphones like 6"+ size (oh yes I have seen ppl walking around with those and they are not tablets... ) so they can also server the desktop version
As for asking user to choice which version to see - no, this is very annoying. What I meant was having a button, link or other way so customer can choice at any time if they want to switch |
Re: xMobile - Smartphone mobile template
I just checked my development site on Samsung Galaxy tab 10'', mobile version loading. I need that fixed file.
Also there's bug with detailed pictures in Chrome and Opera. I'm going to submit my ticket now. |
Re: xMobile - Smartphone mobile template
Quote:
I'll report back later. J |
Re: xMobile - Smartphone mobile template
Any chance of getting free iPhone or iPad ;)
|
Re: xMobile - Smartphone mobile template
Quote:
http://finance.yahoo.com/q?s=aapl&ql=1 Someone made a LOT of $$$ today |
Re: xMobile - Smartphone mobile template
I posted my opinion in several posts:
We need to be able to configure ourselves in admin, which devices we want to serve the mobile version to. This should be based on screen size, os etc. There must be a link on the mobile version so users can go to the desktop version, without being bombarded by the question. There must be a link code provided that we can add to the desktop version, allowing users to switch to the mobile version. QTs version solved this by an annoying window along the top asking continuously: " are you sure you want to switch the version"... Well, you can click on don't ask me anymore... But then you can't go back.... |
Re: xMobile - Smartphone mobile template
OK guys - this may be an iOS "feature" - but it is annoying me...
When customer gets to a <form> on a smartphone - the input fields appear to "center" themselves on the screen, so in the case of my checkout - the form fields blow out the formatting. Like this: http://www.carpeperdiem.us/xcartforum/xmbcheckout-1.png http://www.carpeperdiem.us/xcartforum/xmbcheckout-2.png I think this is a fundamental flaw in the design of this mobile template (well, all mobile templates that do not make a SPECIFIC formatting for forms). 1. IS THIS a normal behavior of iOS (or other mobile OS) ? 2. Short of reinventing the form css and using something like jquery mobile , is there a temporary workaround to prevent forms from auto-centering when in input mode? |
Re: xMobile - Smartphone mobile template
css is your friend.
and <table> is your enemy especially in mobile i removed the table formatting for the form and simply used css. all better now -- except for the x-payments "lite" form -- which now needs to be re-invented as a non-lite template - that will be in its own thread. I STILL think a mobile-specific form interface will be a welcome improvement. http://www.carpeperdiem.us/xcartforum/xmbcheckout-3.png |
Re: xMobile - Smartphone mobile template
I had a couple of files sent to me by TXS, one for mobile only load init and one for both. We only waned mobile on phones no tablets but i agree that it should be based on screen size as I have a 10" tablet and a 5" phone both of which can take the full site.
|
Re: xMobile - Smartphone mobile template
I have TXS xMobile template, there is a link for "full site" also there is a slider that comes out offering to take you to the mobile site. By default it shows mobile on iPad2 (10"?) and looks ok but you can select full site, also you can force the return to mobile slider to appear by scrolling the screen.
Kev |
Re: xMobile - Smartphone mobile template
Did anyone try to replace jQuery with jQuery Mobile? Are all jQuery libraries should be loaded?
|
Re: xMobile - Smartphone mobile template
here's a minor bug that was easy to catch -- only needed to fix if you use the textarea input for product options -- such as a message or monogramming...
file: /skin/txs_xmobile/modules/Product_Options/customer_options.tpl FIND: Code:
<textarea id="po{$v.classid}" name="{$poname}">{$v.default|escape}</textarea> REPLACE WITH: Code:
<textarea id="po{$v.classid}" type="textarea" name="{$poname}">{$v.default|escape}</textarea> (the type="textarea" was missing) there was no way to format this field without the type= defined [EDIT] -- there was another way to edit this -- without defining type="textarea" -- define the width here: @media only screen and (max-width : 446px) { .contact-holder input[type="text"] {width: 170px;} #b_country {width: 170px;} textarea {width: 270px;height: 80px;} } This is a workaround... [/EDIT] |
Re: xMobile - Smartphone mobile template
Quote:
Will, Any progress on the "vary" header? Thx J |
Re: xMobile - Smartphone mobile template
I attended SMX conference in New York City this week. One of the speakers was a product manager from Google, who was discussing techniques best practices for delivering content to cross-platform devices.
Although on the surface it appears that Google is saying, "responsive" - what they REALLY are saying for sites that have the technology, they should be serving dynamically, EXACTLY as we are with xMobile. The Googler said that for many sites, "responsive" solves the issue. google does NOT want m. content google does not want entirely different sets of content When I asked the guy about dynamic content serving to each platform, he expressed that the tech to do this was out of the league of most SMBs and this was an enterprise solution. When I told him that we had this available to us on x-cart, he was surprised. I asked him about the vary header. I also asked him about indexing a slightly different page for mobile versus desktop. He said that sites serving dynamically MUST follow webmaster guidelines to the letter, else risk penalty. But he also said in the same breath, that serving dynamically as we are with xMobile is "the best of both worlds". This method is superior to responsive in google's eyes if a site can pull it off technically. SO -- back to post #51 -- Will, is xMobile using the vary header and following Google's webmaster guidelines to the letter? Yes or no, please? Thanks J |
Re: xMobile - Smartphone mobile template
Hi Jeremy,
Right now xmobile does NOT use this VARY header. But we plan to implement a new option within the xmobile admin area to allow the admin to either switch this on or off. As you know, the VARY header is a server response header. These headers are usually controlled at a server level, this is why we were a little reluctant to include this option before - but by allowing the admin to choose if they want to include the header or not, we can change the response header from within PHP if the admin wants it. I think that is the best of both worlds. regards Will. |
Re: xMobile - Smartphone mobile template
Hi Will,
I am a bit confused... Ilya emailed me last week and told me: "As I can see you already have "vary: user-agent" header in place." And then nothing further when I put up a big ??? since 07 Oct. Ticket: #VAL-920-79445 I have a meeting tomorrow with a google adwords account manager, and the subject of mobile utilization (and budget) are on the table. It would be best to know if xMobile is actually telling google who it is (vary header) or not. Thanks in advance for the clarification. J |
Re: xMobile - Smartphone mobile template
Jeremy,
I have no idea why you are confused, just take a look at my response above your last post on this very page (10-07-2013, 09:33 AM). I believe Ilya also responded to you on this directly before via our helpdesk. Here it is again :) Your "SERVER" is retuning the correct "vary" header - not xmobile. The default functionality of xmobile does NOT return this header because it is not coded to do that. However, a server can be configured to return this header when it receives a HTTP request for a page. In your case, your server is responding with the correct vary header. I also told you that we would update xmobile to include this option in the next version - allowing the admin to force the vary header to be returned from within xmobile itself (this way, we are not relying on the server response to intervene). Install the following plugin for Firefox and check the headers from your xmobile page: http://livehttpheaders.mozdev.org regards Will. |
Re: xMobile - Smartphone mobile template
Quote:
livehttpheaders reports: Vary: Accept-Encoding,User-Agent Ok. Is that the correct header? If so, how is it getting there? Is the Vary header something the host could have included in the php build? Please help me understand what is going on... what does Vary: Accept-Encoding,User-Agent mean to the search engines? I see the header entry: Vary: Accept-Encoding,User-Agent for both xMobile and desktop. Is that telling Google that we are serving dynamic content. I am truly not grasping what Google is expecting and what the server needs to send and what xMobile should be sending. If this is a server side configuration, why would my VPS host setup php for this under normal circumstances? I am going to ask my host for clarification as well. Thanks, J |
Re: xMobile - Smartphone mobile template
Quote:
I hope that you get more info from your host than I did - my host was unable to explain how to set the vary header. |
Re: xMobile - Smartphone mobile template
Quote:
My host (Hands-on) WAS able to explain... It is a default setting in Hand-on VPS' Apache mod_headers config My server IS sending Vary: User-Agent in the headers. Your host can add this to the headers and we don't need xMobile to go there. In my opinion, now that I fully understand what is going on, this SHOULD be a server configuration, and not the template. I think xMobile should explain in the installation docs what is needed, and then provide some resources so you can have your host set this up. Will, if you are reading this, I urge you NOT to add this function to xMobile, and instead to DISCUSS the server configuration that is required. This is NOT a template function. I'm glad I spent the time investigating this. J |
Re: xMobile - Smartphone mobile template
Thanks for that J. It would be great if TXS were able to give an unambiguous explanation of what is required to set the vary header.
My host EWD referred me to a site detailing problems with using vary: user-agent https://github.com/h5bp/html5-boilerplate/issues/414 It would seem that caching can be a problem, for example I found this question and answer on the MAXCDN forum: Quote:
The cloud of confusion around the use of the vary header makes it difficult to know for sure what the risks of using user-agent actually are!:? |
Re: xMobile - Smartphone mobile template
Quote:
I'm no expert on this, but my understanding of the Vary header is that it is relatively simple: It tells the visitor (search engine) that the content will vary based on user agent. It is up to xcart to send the appropriate content (template and all associated includes) based on user-agent, or in our case with xmobile, screen size. I don't think browser caching is an issue for us -- because we are serving DIFFERENT content to smartphone vs. desktop. Same for CDN static content -- I think -- because it's a DIFFERENT css file. xMobile does the device check in file, /modules/TXS_XMobile/init.php (unfortunately for us this is encrypted, and we can't set parameters) So xcart is serving different content based on screen size. Vary user-agent header tells the browsers (search engines) that there WILL be different content depending on the browser/device -- but I don't think it prevents content from loading or being used. The cdn cache only serves what it is being asked for. IF mobile, it serves mobile css. IF desktop it serves desktop css. I am not sure the gitgub thread has anything to do with what we are doing here. I think. I have an email out to my contact at Google. |
Re: xMobile - Smartphone mobile template
Anyone successfully configure Colorbox to work within xMobile?
I keep failing -- I know that xmb has its own service-head.tpl and service_js.tpl I tried inserting the colorbox css into xmb service-head using {load_defer and the script js file using load_defer include into service.js AFTER {if $main eq 'product'} -- But I can't make it work. It was a breeze to get it working on the desktop (using xtreme gear) Did anyone get Colorbox working with xMobile? I must be missing an include? Is there a jquery compatibility issue? THx J |
Re: xMobile - Smartphone mobile template
Hi,
I want to show x-cart modules refine filter in x-mobile.How to achieve that?Anyone please help me in this concern. Thanks, xtech |
Re: xMobile - Smartphone mobile template
1 Attachment(s)
Would also love to get Refine Filters on Xmobile too!
We have anonymous checkout set up but for some reason if you try and checkout on xmobile without filling in a password a box pops up and wont let you continue http://www.gapyeartravelstore.com/images/anon-checkout.png Only seems to happen on our 4.6x installs. Got a ticket open with xcartstore but wondered if anyone had come across this? Cheers, Chris |
Re: xMobile - Smartphone mobile template
How to display filter in x-mobile skin.Please help me
|
All times are GMT -8. The time now is 07:16 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.