| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
xMobile - Smartphone mobile template | ||||
|
|
Thread Tools |
#101
|
|||||||
|
|||||||
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.
__________________
X-Cart GOLD Plus v4.5.4 CDSEO Pro ewdhosting Dedicated Server Dedicated SSL Stone Edge OM |
|||||||
#102
|
|||||||
|
|||||||
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
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
#103
|
|||||||
|
|||||||
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!
__________________
X-Cart GOLD Plus v4.5.4 CDSEO Pro ewdhosting Dedicated Server Dedicated SSL Stone Edge OM |
|||||||
#104
|
|||||||
|
|||||||
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.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#105
|
|||||||
|
|||||||
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
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#106
|
|||||||
|
|||||||
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
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#107
|
|||||||
|
|||||||
Re: xMobile - Smartphone mobile template
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
__________________
X-Cart version 4.6.3 |
|||||||
#108
|
|||||||
|
|||||||
Re: xMobile - Smartphone mobile template
How to display filter in x-mobile skin.Please help me
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
|
|||
X-Cart forums © 2001-2020
|