Liferay 6.1 : Mobile theme - liferay

I have created theme for 6.1.20.
Now I want to create theme for Mobile device. I have never created mobile theme before.
I have created one sample-Wap-theme.
I can see my sample-wap-theme under ContolePanel > Site Pages > Mobile Devices.
I have selected that theme.
but when I switch to different mobile device user agent , I can not see theme changes !!!
Do I need to do any settings for Mobile Device Rule Groups ?
I have read some where about WURFL plugin. Do I need to install it ?
any help ?

As of Liferay 6.1, you must install the WURFL plugin in order to allow the mobile device rules to work.
This guide is very detailed

Related

${device} in Freemarker template ( liferay version 7.0 and 7.4) does not return device data

I am trying to get data from freemarker about the kind of device I use and the browser ,
There is ${device} in Freemarker template , but it does not return data, just it returns unknown.
This is what I get :
{brand=unknown, browser=unknown, browserVersion=unknown, model=unknown, os=unknown, osVersion=unknown, pointingMethod=unknown, qwertyKeyboard=true, screenPhysicalSize={height=-1.0, width=-1.0}, screenResolution={height=-1.0, width=-1.0}, tablet=false}
Anyone can help ?
For Liferay DXP the Device detection capabilities allowing the Freemarker call ${device} to function will work after the installation of the Liferay Mobile Device Detection Lite (LMDD), unfortunately, this option is only available with EE-version.
Another option is you will have to create Mobile Device Rules for each one of them: https://help.liferay.com/hc/en-us/articles/360028819552-Mobile-Device-Rules
With mobile device rules, you can alter what gets displayed based on the device being used to access Liferay DXP.
For example: create a group for all Android devices; if Liferay detects an Android device, it can redirect the visitor to a mobile-friendly page.
Hope this helps.

The search option does not show on a mobile device using Housez theme

I decided to use the Housez theme as it advertises as super easy and flexible to use. I am not a web designer but have managed to get my site up and running. www.islandestates.net The problem I have is that there is no search option for the properties on a mobile device? The desktop version works well but how do I get a search box onto the mobile version?
The support from Housez is non existent, I have submitted a request to favetheme but they never reply.
Any help would be aprreciated.
Malcolm

Primefaces interface test on pc?

I am developing a web application with a mobile interface using JSF/Primefaces and I want to test the change from one view to another but the only view that appears is the first one.
How to make it work on PC?
If you use Mozilla Firefox you can download a plugin called User Agent Switcher. There you go to tools -> Default user Agent -> By default it shows Iphone 3.0, but you can download more agents to render different browser views.
You can learn some about the User Agents here

Sharepoint 2013 Device Channel Mobile device access with different master page not working

I have created device channels, so that i can access my sp2013 website with a different master-page while accessing with mobile device. But still when i access the site, from different mobiles i get the same master page applied that is also the default master page.
I have done the following :
Created device channels(created 2 device channels)
Now i applied the different master page for mobile devices
I have tried to access my site via :
Sony Xperia Arc S (Android 4.1)
IPad 3
Iphone IOS 4.0
Did you make sure the "Automatic Mobile Browser Redirection" feature was deactivated in site settings on the site you are trying to access?
edit: After testing I found that this feature only works for Site Master Pages. If your page isn't a publishing page then it will take on the Master Page set for the System Master page. Unfortunatley the only device channel available there is "All Channels"
Try using "iPad" as device inclusion rule. instead of full device name. It worked for me.
for more info: http://msdn.microsoft.com/en-us/library/jj862343.aspx

What is the URL option to display a Mobile XPage App with iPhone theme?

When I load an xpages mobile application into desktop safari it displays the app with the default theming for an Android device. What do you need to do to get it to use the default iPhone theming?
I thought you needed add something like &iPhone=1 to the end of the url, but that's not working.
Thank you.
To quote the Mobile Controls tutorial:
A browser platform query string parameter is available for developers
to force the browser to takes precedence over one another. Just add
'?platform=iphone' or '?platform=android' to the URL and this will
force the correct theme for XPages mobile pages that match against the
xsp.theme.mobile.pagePrefix property.
Another option is to enable the Develop menu (Edit - Preferences, then on Advanced tab tick Show Develop menu in menu bar. Then from the Develop menu you can change the user agent or set your own.
You could use the sample application for the Extension Library from openntf.org. Go to the "Mobile" tab where you can "extract" the urls to show as iPhone, Android and BlackBerry.
With just a few changes you can add a url as a parameter to this application to show your own mobile app in the same context ;-) I use that for demo purposes.
/John

Resources