[ 
https://issues.apache.org/jira/browse/OFBIZ-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659894#action_12659894
 ] 

Bruno Busco commented on OFBIZ-2106:
------------------------------------

Adrian,
in principle I agree with you but. The theme separation is the last thing I did 
before submitting. This is to avoid that the user can select a ecommerce theme 
for the backoffice loosing completely the UI control.
We have to consider that a VT is not only a stylesheet but also i.e. header and 
footer. These can be completely different (in content and not in style only) 
beetween backoffice and ecommerce.

-Bruno

> Visual Themes for Ecommerce
> ---------------------------
>
>                 Key: OFBIZ-2106
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2106
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Bruno Busco
>         Attachments: bin.zip, BrowseCategoryCSS.patch, 
> EcommerceVisualTheme.patch, EcommerceVisualTheme.patch, screenshot.JPG, 
> vt_multiflex.zip
>
>
> Hi,
> in the attached patch a simple implementation of selectable visual themes for 
> the ecommerce application.
> I have added the "visualThemeId" to the ProductStore entity. The user can 
> select one of the available themes in the EditProductStore screen.
> I have defined the actual ecommerce theme as the default theme that is 
> "EC_DEFAULT".
> I have followed for the ecommerce main-decorator screen a pattern similar to 
> what done for the back-end.
> One thing that we could think to do (but I would like to hear someone about) 
> is to add a "typeId" field or similar to the VisualTheme entity that could be 
> used to distinguish between the themes for the back-end and for the ecommerce.
> Right now it is possible to select all of the available themes for bost 
> application and this results in a mess if, for example, a theme for ecommerce 
> is selected for the back-end and viceversa.

-- 
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