[jira] [Commented] (OFBIZ-9418) Static resources for theme in unreasonable file/folder structure

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9418) Static resources for theme in unreasonable file/folder structure

Nicolas Malin (Jira)

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

Pierre Smits commented on OFBIZ-9418:
-------------------------------------

Hi [~donhuvy],

You can - of course - deviate from the setup provided by the OFBiz project and have common and specific theme related (versioned) files where you want to have them in your OFBiz implementation. This flexibility is one of the greatest features of the product.


> Static resources for theme in unreasonable file/folder structure
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-9418
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9418
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: themes
>    Affects Versions: 16.11.02
>            Reporter: Do Nhu Vy
>            Priority: Minor
>
> For example
> {code:xml}
>     <VisualThemeResource visualThemeId="TOMAHAWK" resourceTypeEnumId="VT_STYLESHEET" resourceValue="/images/jquery/plugins/asmselect/jquery.asmselect-1.0.4a-beta.css" sequenceId="02"/>
> {code}
> or
> {code:xml}
> <VisualThemeResource visualThemeId="TOMAHAWK" resourceTypeEnumId="VT_HDR_JAVASCRIPT" resourceValue="/images/OfbizUtil.js" sequenceId="15"/>
> {code}
> JS file put inside images folder. And this is own theme file, but put in common directory.
> We should change file/folder structure in a reasonable way.
> Attachment: https://user-images.githubusercontent.com/1328316/27249120-1c89fb58-5338-11e7-8390-e09c6ab2c7a6.png



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)