Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED] SJ News v2_0 mobile view disable
(1 viewing) (1) Guest
Userguide, Report bugs, New Ideas...
  • Page:
  • 1

TOPIC: [SOLVED] SJ News v2_0 mobile view disable

[SOLVED] SJ News v2_0 mobile view disable 10 years, 5 months ago #13823

  • Romanov
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
Can't find how to disable mobile view in new version of temlate.
I tried to set false value for every setMobile and isMobile function in /includes/lib/browser.php but it doesn't help!

p.s.
Found that template doesn't work at opera browser on Windows XP.
It displays an error "can't find temlate-opera.css"
I changed
// Include css with Opera
if(preg_match("/opera/i", $_SERVER['HTTP_USER_AGENT'])){
	$yt->ytStyleSheet('css/template-opera.css');
}

to
// Include css with Opera
if(preg_match("/opera/i", $_SERVER['HTTP_USER_AGENT'])){
	$yt->ytStyleSheet('css/template-blue.css');
}

now it works. Is it correct?

Re: SJ News v2_0 mobile view disable 10 years, 5 months ago #13963

  • Romanov
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
There is a function's call $browser = new Browser(); in index.php
I wrote <?php echo $browser; ?> after it.

This function is in browser.php only.
But if I remain only function reset() in class Browser, echo doesn't display Browser_Unknown, it displays the right value of my browser.
Even I clear browser.php at all, echo displays the right value of my browser!

Don't understand...

Re: SJ News v2_0 mobile view disable 10 years, 4 months ago #15194

  • Romanov
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
Still didn't solve this problem.
Is there any ideas?

Re: SJ News v2_0 mobile view disable 10 years, 4 months ago #15212

Dear Ivan,

We're sorry about the lateness.
1. please go to administrator -> Template Manager -> Edit -> General -> Responsive -> Disable
2. to fix on opera: refer to www.smartaddons.com/index.php?option=com_kunena&Itemid=206&func=view&catid=195&id=13053

Thanks!

Re: SJ News v2_0 mobile view disable 10 years, 4 months ago #15254

  • Romanov
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
Thank you! It works!
  • Page:
  • 1
Time to create page: 0.21 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