ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Malin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OFBIZ-5776) Move static resources from framework/images to framework/resources webapp
Date Fri, 25 Aug 2017 15:11:00 GMT

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

Nicolas Malin edited comment on OFBIZ-5776 at 8/25/17 3:10 PM:
---------------------------------------------------------------

+1 for me also

Normally you just change on the themes/common/widget/Theme.xml like
{code}
-        <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"/>
{code}

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


was (Author: soledad):
+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)

Mime
View raw message