Welcome, Guest
Username Password: Remember me

Redirect doesn't work
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Redirect doesn't work

Redirect doesn't work 12 years, 10 months ago #7197

  • rausmade
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 1
Hi, the redirect to m.fsc-gensungen-felsberg.de doesn't work. My Android phone always uses the "normal" website and I can switch to the mobile website only by using the menu on the bottom of the website.

My global settings of Mobile Joomla! you can see here:


I'm using MobileJoomla 1.0 RC6. Any idea why my Galaxy S2 doesn't redirect to m.fsc-gensungen-felsberg.de directly?

Re: Redirect doesn't work 12 years, 10 months ago #7199

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4863
  • Karma: 105
It's known issue of RC6. I was fixed in repository: github.com/mobilejoomla/mobilejoomla/commit/966bba23351b0ad56a54844d92a2bd1fed41f678
(you can apply the patch manually to file plugins/mobile/domains.php)

Re: Redirect doesn't work 12 years, 10 months ago #7201

  • rausmade
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 1
Works well ; Thxx for support!

Re: Redirect doesn't work 12 years, 10 months ago #7326

  • jetenow
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
hi, i used

{ // Desktop domain


82



- $MobileJoomla_Device['markup'] = '';




82

+ $mainframe =& JFactory::getApplication();




83

+ // is it non-first visit? Then don't redirect




84

+ if($mainframe->getUserState('mobilejoomla.markup') !== null)




85

+ $MobileJoomla_Device['markup'] = '';


83

86

}
but it isn't work. i have the same settings than rausmade. the sub domaine
http://iphone.myDomainName.com throw an error.
thanks

Re: Redirect doesn't work 12 years, 10 months ago #7341

  • rrosko
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Using MobileJoomla 1.0 RC6 and have multi-domains setup and enabled.

Have updated the plugins/mobile/domains/domains.php file as recommended above.

On iPhone, redirect goes to the appropriate sub-domain, but on Android phone, no redirect occurs.
  • Page:
  • 1
Time to create page: 0.07 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.