“portletpreferences” table in database is a great place to look when trying to see what portlet id and preferences are needed for a portlet when embedding the portlet
Radio Liferay Episode 7: Julio Camarero
This code logs you out and then reloads the current community instead of sending you to the guest community.
setting look and feel settings on a non-instancable portlet embedded in the theme
While in a mobile browser you can click the link to see what css classes you can use to target your mobile experience
to use these features in Liferay 6.1 just add
at the top of your custom.css file in your theme.
here are some things I like about it:
SASS lets you set variables and use them throughout your code:
$calc-width: $mobile-view-width - $default-margin;
1. Use Table Based Layouts for Browsers IE 6 & 7 (#if ($browserSniffer.isIe($request) && $browserSniffer.getMajorVersion($request) )
2. Set “main-content” class to be the layout name. That way you can target via CSS when this layout is in use.
3. Remember Layouts can be embedded in a theme or deployed to the entire Liferay Server.
To View un-minified CSS add “css_fast_load=0” to your url
To View un-minified JS add “js_fast_load=0” to your url