Bart Simpson 10 年之前 Looks pretty cool. Thanks for some interesting insight. Tried the " DeviceDetectionUtil" in my custom portlet works great. However when trying the in the velocity template that you suggested it's unable to detect device. Haven't done much digging into the code to check where $device is being injected, but may be you can shed some light into it. 请登录以投票。 以……回复 取消 Milen Dyankov Bart Simpson 10 年之前 Are you trying this with real device or a browser with changed user-agent string? If the former, keep in mind the recognized device is stored in the session. This if you access the portal with your normal browser it will remember the device in the session and later on even if you change the user-agent it will not get recognized as mobile device. To work around this you need to log out or simply delete the browser cookies. If this is not the case then check if there are any errors in log file. 请登录以投票。 以……回复 取消
Milen Dyankov Bart Simpson 10 年之前 Are you trying this with real device or a browser with changed user-agent string? If the former, keep in mind the recognized device is stored in the session. This if you access the portal with your normal browser it will remember the device in the session and later on even if you change the user-agent it will not get recognized as mobile device. To work around this you need to log out or simply delete the browser cookies. If this is not the case then check if there are any errors in log file. 请登录以投票。 以……回复 取消
Lucas Fragomeni 9 年之前 Hi. I'm customizing a portal with Liferay 6.1 EE. If the Device Recognition Plugin doesn't support that version, do I need to implement one myself?Regards 请登录以投票。 以……回复 取消 Milen Dyankov Lucas Fragomeni 9 年之前 Device Recognition should work in both 61 and 6.2. See: https://www.liferay.com/marketplace/-/mp/application/35419014 请登录以投票。 以……回复 取消 Lucas Fragomeni Milen Dyankov 9 年之前 Thanks. When I changed my location on the marketplace to US I was able to visualize it. ;) 请登录以投票。 以……回复 取消
Milen Dyankov Lucas Fragomeni 9 年之前 Device Recognition should work in both 61 and 6.2. See: https://www.liferay.com/marketplace/-/mp/application/35419014 请登录以投票。 以……回复 取消 Lucas Fragomeni Milen Dyankov 9 年之前 Thanks. When I changed my location on the marketplace to US I was able to visualize it. ;) 请登录以投票。 以……回复 取消
Lucas Fragomeni Milen Dyankov 9 年之前 Thanks. When I changed my location on the marketplace to US I was able to visualize it. ;) 请登录以投票。 以……回复 取消
George Cojocaru 9 年之前 The link to plugin in Marketplace - Device Recognition Provider ( http://www.liferay.com/marketplace/-/mp/application/15193341 ) is no more valid and it seems there is no more Device Recognition Provider free plugin in Marketplace. Do you know from where to get this free plugin? 请登录以投票。 以……回复 取消 Lucas Fragomeni George Cojocaru 9 年之前 Hey... i found the WURFL plugin WAR on this blog post and it works well: http://liferaytrends.blogspot.com.br/2013/05/mobile-theme-in-liferay.htmlPS: When I asked the liferay support about it they sent me a newer version. 请登录以投票。 以……回复 取消
Lucas Fragomeni George Cojocaru 9 年之前 Hey... i found the WURFL plugin WAR on this blog post and it works well: http://liferaytrends.blogspot.com.br/2013/05/mobile-theme-in-liferay.htmlPS: When I asked the liferay support about it they sent me a newer version. 请登录以投票。 以……回复 取消
siddhant jain 9 年之前 It is not working properly for Windows Mobiles, it gives the save values for Windows Mobile as for desktop.But WURFL does supports windows Mobiles.How can we differentiate between windows mobile and windows desktop?? 请登录以投票。 以……回复 取消 Milen Dyankov siddhant jain 9 年之前 That depends on how accurate the WURFL database is. The one bundled with the plugin is somewhat old. You probably need to update it to the latest one. 请登录以投票。 以……回复 取消 siddhant jain Milen Dyankov 9 年之前 how can i update it?? 请登录以投票。 以……回复 取消
Milen Dyankov siddhant jain 9 年之前 That depends on how accurate the WURFL database is. The one bundled with the plugin is somewhat old. You probably need to update it to the latest one. 请登录以投票。 以……回复 取消 siddhant jain Milen Dyankov 9 年之前 how can i update it?? 请登录以投票。 以……回复 取消