0

I have created a Drupal 7 site with all required functions. As per the requirement I have to create a mobile theme for this site, which I did effectively. Now problem is I need to redirect the user to the mobile site if the request is made from a mobile. If the request is made from computer he should be redirected to the main site.

Thanks in advance.

1
  • 2
    you could see my answer for the same issue :-)
    – AjitS
    Commented Jun 1, 2012 at 7:17

2 Answers 2

1

There are already existing modules to do it like mobile_tools. Where u can set what theme to use for mobiles. and redirection on mobile detection also.

3
  • @slassenger - Welcome :)
    – Hacker
    Commented Jun 1, 2012 at 8:17
  • can u say few modules that can work with D7 as well.
    – Gladiator
    Commented Jun 1, 2012 at 9:09
  • 2
    @slassenger - check this link for 7 version of mobile tools drupal.org/node/416196/release
    – Hacker
    Commented Jun 1, 2012 at 10:07
1

Mobile Tools is a good option, or you may use theme_key just as well.

Regards.

1
  • thanks for ur reply:):) Hacker's answer solved the problem. But still need to work with D7.
    – Gladiator
    Commented Jun 1, 2012 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.