CoreBOSBB

Full Version: [ solved ] Mobile Interface
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 !
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
Yes, thanks !!