Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Monte Glenn Gardner
switching to Mobile Theme
November 12, 2008 11:33 AM
Answer

Monte Glenn Gardner

Rank: Junior Member

Posts: 37

Join Date: July 11, 2008

Recent Posts

I understand that the 5.5 version of liferay has a mobile theme set up. However, when I access my liferay site via cell-phone/mobile device emulators, I still get the XHTML theme that I set up for normal browsers. Is it possible to serve different themes for different devices? What triggers the use of the mobile theme in LIferay.
Wilson Man
RE: switching to Mobile Theme
November 12, 2008 12:10 PM
Answer

Wilson Man

LIFERAY STAFF

Rank: Liferay Master

Posts: 532

Join Date: June 21, 2006

Recent Posts

check the BrowserSnifferImpl class ... you can replace it with your own implementation in the EXT environment and basically, the is_wap() can be overriden to check for other things ...