Release | Sj GoFast - Professional Transport & Logistics Joomla Template!
My Cart (0 item)
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest
Userguide, Report Bugs, New Ideas...
  • Page:
  • 1

TOPIC: mobile view

mobile view 5 years, 4 months ago #8273

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

Re: mobile view 5 years, 4 months 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.28 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.

Suggested Posts

(/)
Result not found!

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

Join Affiliate Program

Join SmartAddons Affiliate Program

Earn money with SmartAddons!
Get paid immediately.
Up-to 30% of every sale

Join Affiliate Program