famar Posted November 13, 2012 Share Posted November 13, 2012 (edited) Hi, It is possible to force display ps with the mobile theme in a PC Desktop? I need to display the mobile version in some desktop devices (no Android and iOs) with reduced resolution. Thanks in advance for your answers. Edited November 13, 2012 by famar (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted November 13, 2012 Share Posted November 13, 2012 Hi, I am use Firefox User Agent or User-Agent Switcher for Chrome for this purpose Regards 1 Link to comment Share on other sites More sharing options...
famar Posted November 13, 2012 Author Share Posted November 13, 2012 Hi, I am use Firefox User Agent or User-Agent Switcher for Chrome for this purpose Regards thanks! Why with ?mobile_theme_ok does not work? Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted November 13, 2012 Share Posted November 13, 2012 Overview of the methods Context::getMobileDevice(), Context::checkMobileContext() and FrontController::init() //Context::checkMobileContext() protected function checkMobileContext() { return isset($_SERVER['HTTP_USER_AGENT']) && isset(Context::getContext()->cookie) && (bool)Configuration::get('PS_ALLOW_MOBILE_DEVICE') && @filemtime(_PS_THEME_MOBILE_DIR_) && !Context::getContext()->cookie->no_mobile; } //FrontController::init() // Check mobile context if (Tools::isSubmit('no_mobile_theme')) $this->context->cookie->no_mobile = true; else if (Tools::isSubmit('mobile_theme_ok')) $this->context->cookie->no_mobile = false; This parameters is necessary to enable/disable the mobile theme on mobile device Link to comment Share on other sites More sharing options...
famar Posted November 13, 2012 Author Share Posted November 13, 2012 Overview of the methods Context::getMobileDevice(), Context::checkMobileContext() and FrontController::init() //Context::checkMobileContext() protected function checkMobileContext() { return isset($_SERVER['HTTP_USER_AGENT']) && isset(Context::getContext()->cookie) && (bool)Configuration::get('PS_ALLOW_MOBILE_DEVICE') && @filemtime(_PS_THEME_MOBILE_DIR_) && !Context::getContext()->cookie->no_mobile; } //FrontController::init() // Check mobile context if (Tools::isSubmit('no_mobile_theme')) $this->context->cookie->no_mobile = true; else if (Tools::isSubmit('mobile_theme_ok')) $this->context->cookie->no_mobile = false; This parameters is necessary to enable/disable the mobile theme on mobile device Yes it is true! I understand. thanks! Link to comment Share on other sites More sharing options...
gypsy Posted November 30, 2012 Share Posted November 30, 2012 (edited) any one know how i can change the slider lenth you cant tell i have other content to view please look and help thank you for your time! www.lotsofvapor.com Edited November 30, 2012 by gypsy (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now