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

Bruno Busco commented on OFBIZ-2172:
------------------------------------

Hi Matthias,
I will update the How To as soon as the VisualTheme for Ecommerce will be 
implemented in its final way. There is a work in progress right now.
In any case I think that in order to have your theme shown in 
https://localhost:8443/catalog/control/EditProductStore?productStoreId=10000
you only need to add this attribute:
visualThemeSetId="ECOMMERCE"
to your VisualTheme definition.

The VisualTheme definition line in your theme data should look similar to this:
    <VisualTheme visualThemeId="MULTIFLEX" visualThemeSetId="ECOMMERCE" 
description="Alternative VisualTheme for Ecommerce"/>

Hope this helps

> Web Application / VisualTheme association
> -----------------------------------------
>
>                 Key: OFBIZ-2172
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2172
>             Project: OFBiz
>          Issue Type: New Feature
>            Reporter: Bruno Busco
>            Assignee: Bruno Busco
>             Fix For: Release Branch 9.3
>
>         Attachments: VisualThemeSets.patch
>
>
> Following a recent discussion on the ML about an association model between 
> WebApps and VisualThemes I would like to submit this "half baked" ;-) patch.
> Along with any comments you will do on the patch I think now I need some hint 
> to go further:
> 1) In order to have this model working we should have on every application's 
> WEB.XML file something like this:
>     <context-param>
>         <param-name>webSiteId</param-name>
>         <param-value>CONTENT_SITE</param-value>
>     <description>A unique ID used to look up the Content entity that serves 
> as the root for publish points</description>
>     </context-param>
> with a specific different param-name for every webapp. Is this correct?
> If yes could we use the same webapp name for the webSiteId?
> 2) We should create a WebSite for every WebApp. Is this correct?
> 3) I have implemented a filter on the VisualTheme Lookup that let the user 
> choose among all the applicable themes. (if a WebSiteId is defined)
> But doing this I realized that the user could choose a different theme for 
> different applications and so these should be recorded as preferences. I mean 
> we should record that a user has selected a theme _for a certain 
> application_. is this correct?
> Thank you for supporting me.

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