A couple of screencasts have been created which cover the awesome new mobile (and responsive!) site which is included in GateIn 3.6.
The first one covers a brief overview of the mobile site that shows some of its cool new features and how it acts on a mobile phone.
The second screencast covers some of the configuration details when dealing with a mobile or responsive site. Including how to configure the viewport for the portal, restrict the shared layout to non-administrators and how to setup the responsive header portlet.
It also covers how to create a new mobile or responsive portal.
Check them out!
Some updates on what is happening on the mobile front with GateIn. We now have user agent (ie browser) detection and can configure site redirections based on that. Woot!
If you are using GateIn 3.4.0, you may already notice some changes:
A few caveats through:
Stay tuned for future updates.
So lets focus on what is working and available today:
User Agent Detection
We can detect the user agent (ie browser) the current is currently using to access the site using the contents of the user agent string passed in from the browser itself or redirect to a special page to check the capabilities of the browser (for things like pixel density and touch event support). Can both be used together or separately, and uses things like regular expressions to give it some power.
Site Redirection
Ok, so we now know how to detect a user agent, now what? Well, the next steps is configuring the portal to redirect between the normal site and an 'alternative’' site (I guess we could call it the 'mobile' site here, but since we don't have a mobile ui done yet, its a bit getting ahead of ourselves). We support mapping specific nodes between the different sites as well as various strategies on how to handle nodes which don’t exactly match up.
And how do you configure all of this? Check out the docs available here: Gatein Device Detection and Site Redirection Configuration
Thats it for the mobile updates for now, stay tuned for future updates!