[ 
https://issues.apache.org/jira/browse/OFBIZ-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Busco updated OFBIZ-1885:
-------------------------------

    Attachment: theme_1.zip
                no_screenshot.jpg
                visualtheme_merged.patch

Adrian,
I have done the following improvements to the VisualTheme:

- added the visualtheme.default property in general.properties
This let us select the default theme that will be used as long as the user does 
not select another one.
If the visualtheme.default is not set (as OOTB) then the default theme will be 
"DEFAULT"

- removed the visualtheme record for the "_NA_" UserLogin
In this way, if a default theme is specified in the visualtheme.default 
property it will be used for the login page also.

- added a new VisualThemeResource type VT_SCREENSHOT to have a theme preview 
screenshot

- changed the Visual theme selection screen to show the VisualTheme preview 
screenshot

- created the no_screenshot.jpg
This, at the moment is a copy of the default.jpg image showing "No photo 
available", could be something more specific.


I merged together the two patches because it was not easy for me to make a 
patch to a patched and not committed file.
I hope its ok with you. The new patch is "VisualTheme_Merged.patch" and should 
be comprensive of everything needed but the binary file "no_screenshot.jpg" 
that is attached separately.
I attach to this issue also a new theme_1.zip file that now includes the 
screenshot jpg.




> 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
>            Priority: Minor
>         Attachments: no_screenshot.jpg, theme_1.zip, theme_1.zip, 
> visual_themes.patch, visual_themes.patch, visualtheme_merged.patch, 
> VisualThemeSelection.patch, VisualThemeSelection.patch
>
>
> 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.

Reply via email to