Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ solved ] Mobile Interface
#1
Hi Guys,

About mobile access, I need easy way to use same URL, but when user in mobile, change to mobile view

Any tip for that?

I trid use apache .conf file, but not working very well .. or I not know how made that ...

And for Ipad/Samsung Tablet, mobile view not user, not much friendly.

I believe Tablet is more easy because screen size, but could be a problem to redraw system screen too

Any trip for that?

Thanks a lot !
Ranieri
eCRM Web
Reply
#2
This article worked for me:


https://www.howtoforge.com/apache2-how-to-redirect-users-to-mobile-or-normal-web-site-based-on-device-using-mod_rewrite

I copied the htaccess.txt file in coreBOS to .htaccess

I added this section to the .htaccess file

Code:
<IfModule mod_rewrite.c>

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|opera mobile|palmos|webos" [NC]
RewriteRule ^$ Mobile.php
</IfModule>

I set AllowOveride to All in apache configuration file
I activated the rewrite module in Apache
I restarted Apache

HTH
Joe
TSolucio
Reply
#3
Yes, thanks !!
Ranieri
eCRM Web
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)