[ https://issues.apache.org/jira/browse/OFBIZ-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Busco updated OFBIZ-1885: ------------------------------- Attachment: compact_header_screenshot.jpg visualtheme_merged.patch vt_compactheader.zip Hi Adrian, please find attached the new vt_compactheader Visual Theme. This theme is like the standard OFBiz theme but with a collapsable header like we have spoken in the DEV ML with Jacopo and Jacques. When the header is collapsed the screen looks like you can see in the compact_header_screenshot.jpg. Using the little "^" link on the right of the header this is collapsed and the UserPreference COMPACTHEADER is set to "Y". In this way all the screens are rendered with the collapsed header and the setting is rememered for future logins. The new "COMPACTHEADER" UserPreferences is only defined within the VisualTheme. No specific hack is necessary to support it outside of the theme. To retrieve new UserPreference I used the getUserPreferenceGroup service instead of the getUserPreference that we used before to get the VisualTheme only. I hope that doing this change I have well understood and followed the UserPreferences design that you implemented. (please see the updated visualtheme_merged.patch) One thing that IMO may be needs some cleaning is how the setUserPreferences service is handled. It always takes to the MyPage screen and if the MyPage application was not logged in by the user he is prompted for the login. > Selectable Visual Themes > ------------------------ > > Key: OFBIZ-1885 > URL: https://issues.apache.org/jira/browse/OFBIZ-1885 > Project: OFBiz > Issue Type: Improvement > Components: framework > Reporter: Adrian Crum > Assignee: Adrian Crum > Priority: Minor > Attachments: compact_header_screenshot.jpg, no_screenshot.jpg, > theme_1.zip, theme_1.zip, visual_themes.patch, visual_themes.patch, > visualtheme_merged.patch, visualtheme_merged.patch, visualtheme_merged.patch, > visualtheme_merged.patch, visualtheme_merged.patch, > VisualThemeSelection.patch, VisualThemeSelection.patch, vt_compactheader.zip > > > Implement entities, services, and UI artifacts to add support for selectable > Visual Themes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.