You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Matthias Häußer (JIRA)" <ji...@apache.org> on 2009/03/02 13:20:12 UTC

[jira] Commented: (OFBIZ-2172) Web Application / VisualTheme association

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

Matthias Häußer commented on OFBIZ-2172:
----------------------------------------

Hi Bruno,
thanks for your help. With the visualThemeSetId="ECOMMERCE" attribute I can select the Visual Theme in the backend. However, I run in all kinds of errors related to layoutSettings.companyName and layoutSettings.commonHeaderImageLinkUrl.
I also get
framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: ; [Visual Theme resources not found.]

I exchanged the bg_head_middle.jpg file in the visual theme in the hot-deploy folder, but with no effect. Only when I exchanged the file contents in the themes folder, the change was visible.

Hm, I guess I'll stick with the old version (Stylesheet + Logo file) and see how this develops... 

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