[jira] [Commented] (OFBIZ-5776) Move static resources from framework/images to framework/resources webapp

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

[jira] [Commented] (OFBIZ-5776) Move static resources from framework/images to framework/resources webapp

Nicolas Malin (Jira)

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

Nicolas Malin commented on OFBIZ-5776:
--------------------------------------

+1 for me also

Normally you just change on the themes/common/widget/Theme.xml like
-        <property name="VT_HDR_JAVASCRIPT['add']" value="/images/jquery/plugins/asmselect/jquery.asmselect-1.0.4a-beta.js"/>
+        <property name="VT_HDR_JAVASCRIPT['add']" value="/js/jquery/plugins/asmselect/jquery.asmselect-1.0.4a-beta.js"/>

after don't forget to open the related webapp on themes/common/ofbiz-component.xml, but this you know well :)

> Move static resources from framework/images to framework/resources webapp
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-5776
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5776
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Deepak Dixit
>            Assignee: Deepak Dixit
>            Priority: Minor
>         Attachments: OFBIZ-5776.patch
>
>
> Move all the static resources form images webapp to resources webapp, as they all are more related to resources rather then images.
> Also we need to rearrange these resources based on their purpose, like
> - Move all js related files and plugins under resources/js
> - Move all the css related files and plugins under resources/css
> - Move all the images related to js and css under resources/images or resources/img



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