My client has an existing commercial website developed using OpenCMS and they want to create a mobile version of the same.
I have seen websites starting with "m." instead of "www." I am guessing these are the mobile versions of the websites which access the same database but are independent of the actual website. And users are redirected to the mobile version when the device detected is mobile.
But then, I also saw that OpenCMS has an option for creating mobile friendly templates using the <cms:device type="mobile">
My knowledge about creating mobile websites is quite limited. So I just wanted to know which of the above two options or any other option I don't know about will be the right direction to proceed.
Thank you!