Welcome, Guest
Username Password: Remember me

Link back to desktop not working correctly
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Link back to desktop not working correctly

Re: Link back to desktop not working correctly 10 years, 8 months ago #17133

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
That is "Desktop" and "Mobile" links are not from Select Markup modules? Are they embedded as custom HTML module?

Re: Link back to desktop not working correctly 10 years, 8 months ago #17136

  • mwbaggs
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
They are menu items assigned as external links each with link: index.php/?device=desktop AND index.php/?device=xhtml. The index.php, declaration ensures that the user, regardless of what page they are on can switch between desktop and mobile without being redirected away from the page they are on.

The menu items are setup on the standard menu module which is assigned to position <jdoc:include type="modules" name="website-version" style="none" />

Thanks,

Morgan

Re: Link back to desktop not working correctly 10 years, 8 months ago #17137

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Most likely it is main point. Menu items are passed through SEF, and MJ affects SEF to add device=[mode] parameter (if necessary). I'd transform it to custom html module.

We will try to fix it in next MJ release (to don't change device parameter in URL if it is presented).

Re: Link back to desktop not working correctly 10 years, 8 months ago #17138

  • mwbaggs
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
If that is the case...why would both links work on the mobile device? They are still passing through the SEF in order to be rendered in both cases?

Re: Link back to desktop not working correctly 10 years, 8 months ago #17139

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Because of "device" parameter is changed in "forced" mode only and there are some differences in work in mobile and desktop modes.
The following user(s) said Thank You: mwbaggs
  • Page:
  • 1
  • 2
Time to create page: 0.08 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.