Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest
Userguide, Report Bugs, New Ideas...
  • Page:
  • 1

TOPIC: mobile view

mobile view 11 years, 1 month ago #8273

how do you make on smartphone(mobile) to default window option2 in other words turn off mobile option

Re: mobile view 11 years, 1 month ago #8391

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Lawrence Myftiu,

If you want to see the default window on smartphones like on PC, please go to "templates\sj_restaurant25\includes\yt_template.class.php", finding:

if($this->mobile_device_detect()){
	$this->is_mobile = true;
	if($this->get_cookie($this->template.'_switch_modes')!=''){
		if($this->getParam('switch_modes')=='1'){
			$this->is_mobile = true;
		}else{
			$this->is_mobile = false;
		}
	}
}else{
	$this->is_mobile = false;
	if($this->getParam('switch_modes')=='1'){
		$this->is_mobile = true;
	}
}


=>

$this->is_mobile = false;
if($this->getParam('switch_modes')=='1'){
	$this->is_mobile = true;
}


Thanks
Ticket System | Join our Clubs to download our extensions and templates
  • Page:
  • 1
Time to create page: 0.75 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes