You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Nicolas Malin (JIRA)" <ji...@apache.org> on 2017/08/04 12:14:00 UTC

[jira] [Comment Edited] (OFBIZ-9138) Create a common theme

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

Nicolas Malin edited comment on OFBIZ-9138 at 8/4/17 12:13 PM:
---------------------------------------------------------------

I uploaded two diagrams that try to explain how the theme system now work to resolve the ftl macro library and decorator screen.

I hope it would be more easier with them to understand the code change realized.

[^common-theme-macro.svg] [^common-theme-screen.svg]


was (Author: soledad):
I uploaded two diagrams that try to explain how the theme system now work to resolve the ftl macro library and decorator screen.

I hope it would be more easier with them to understand the code change realized.

> Create a common theme
> ---------------------
>
>                 Key: OFBIZ-9138
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9138
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>         Attachments: common-theme-macro.svg, common-theme-screen.svg
>
>
> A first task to UI Improvement would be create a common that receive the existent code.
> The benefice would be have a framework/common who list all screens that available for theme surcharge, so without technology information (css/html or something like that)
> Different task to do :
> * move all ftl template from framework/common to themes/common
> * move framework/images to themes/common (this directory contains unlogical element for theme but will be manage at a second time)
> * move default macro ftl template from framework/widget to themes/common 
> After the realization on this task, all current themes call theme/common for html rendering instead of framework/common, framework/images and framework/widget. Just pave the way for the next



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