CoreBOSBB
[ solved ] Mobile Interface - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: [ solved ] Mobile Interface (/showthread.php?tid=2572)



[ solved ] Mobile Interface - rslemer - 02-12-2023

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 !


RE: Mobile Interface - joebordes - 02-25-2023

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


RE: Mobile Interface - rslemer - 02-25-2023

Yes, thanks !!