ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shrilesh Korgaonkar <shrilesh.korgaon...@udyogmandir.in>
Subject Re: Ecommerce
Date Wed, 19 Sep 2018 10:57:44 GMT
Theme.xml

<theme name="my_visualtheme"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="
http://ofbiz.apache.org/dtds/widget-theme.xsd">
    <visual-themes>
        <visual-theme id="MY_VISUALTHEME" display-name="My Visual Theme"/>
    </visual-themes>

<extends location="component://common-theme/widget/Theme.xml"/>
<theme-properties>
        <!--Css style-->
        <property name="VT_STYLESHEET['add']"
value="/application-name/images/blog.css"/>
        <property name="VT_STYLESHEET['add']"
value="/application-name/css/custom.css"/>
        <property name="VT_STYLESHEET['add']"
value="/contentimages/css/contentForum.css"/>
        <!--header image -->
        <property name="VT_HDR_IMAGE_URL" value="/images/ofbiz_logo.png"/>
        <property name="VT_SHORTCUT_ICON" value="/images/ofbiz.ico"/>
        <!--template location-->
        <property name="VT_HDR_TMPLT_LOC"
value="component://application-name/template/includes/Header.ftl"/>
        <property name="VT_FTR_TMPLT_LOC"
value="component://application-name/template/includes/Footer.ftl"/>
    </theme-properties>
</theme>

On Wed, Sep 19, 2018 at 11:52 AM, Arun Patidar <arun.patidar@hotwax.co>
wrote:

> Hello Shrilesh,
>
> Did you use the component location for plugin file
> like: component://myplugin/template/Header.ftl
>
> You can also share your example code so that someone can catch the missing
> things in it.
>
>
> Kind Regards,
>
> Arun Patidar
> Director of Information Systems
>
> *HotWax CommerceReal OmniChannel. Real Results.*
> m: +91 9827353082
> w: www.hotwax.co
>
>  <https://www.linkedin.com/company/hotwaxcommerce/>
> <https://www.facebook.com/HotWaxCommerce/>
> <https://twitter.com/hotwaxcommerce>
>
>
>
> On Wed, Sep 19, 2018 at 2:46 PM Shrilesh Korgaonkar <
> shrilesh.korgaonkar@udyogmandir.in> wrote:
>
> > Yup I read that also created but still it's unable to load with my plugin
> > Path of Theme.xml file:: plugins/application-name/widget/Theme.xml
> >
> >
> >
> > On Wed 19 Sep, 2018, 2:12 PM Arun Patidar, <arun.patidar@hotwax.co>
> wrote:
> >
> > > Did you read and follow file [1] shared by Nicolas in another email
> > thread
> > > of you?
> > >
> > >
> > >
> > https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/
> trunk/themes/README.md
> > >
> > >
> > > Kind Regards,
> > >
> > > Arun Patidar
> > > Director of Information Systems
> > >
> > > *HotWax CommerceReal OmniChannel. Real Results.*
> > > m: +91 9827353082
> > > w: www.hotwax.co
> > >
> > >  <https://www.linkedin.com/company/hotwaxcommerce/>
> > > <https://www.facebook.com/HotWaxCommerce/>
> > > <https://twitter.com/hotwaxcommerce>
> > >
> > >
> > >
> > > On Tue, Sep 18, 2018 at 9:55 PM Shrilesh Korgaonkar <
> > > shrilesh.korgaonkar@udyogmandir.in> wrote:
> > >
> > > > Yup I tried hard coding it
> > > > But I need help in theme.xml file it not loading with my plugin
> > > > If I can load it I will able to edit without disturbing decorator
> > screen
> > > >
> > > >
> > > > On Tue 18 Sep, 2018, 7:06 PM Arun Patidar, <arun.patidar@hotwax.co>
> > > wrote:
> > > >
> > > > > Hello Shrilesh,
> > > > >
> > > > > Check the decorator screens locations in view-map path screens. You
> > > will
> > > > > need to create/use your custom decorator.
> > > > >
> > > > >
> > > > >
> > > > > Kind Regards,
> > > > >
> > > > > Arun Patidar
> > > > > Director of Information Systems
> > > > >
> > > > > *HotWax CommerceReal OmniChannel. Real Results.*
> > > > > m: +91 9827353082
> > > > > w: www.hotwax.co
> > > > >
> > > > >  <https://www.linkedin.com/company/hotwaxcommerce/>
> > > > > <https://www.facebook.com/HotWaxCommerce/>
> > > > > <https://twitter.com/hotwaxcommerce>
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Sep 18, 2018 at 5:31 AM Shrilesh Korgaonkar <
> > > > > shrilesh.korgaonkar@udyogmandir.in> wrote:
> > > > >
> > > > > > I'm facing some problem
> > > > > > can anybody help me if possible
> > > > > > i have created a plugin and extended the ecommerce plugin
> > > > > > i successful created templates and view-map in controller.xml
> > > > > > but when i saw the source of html page
> > > > > > i notice that the page is using my templets as well as the
> existing
> > > > > > templets of the ecommerce
> > > > > > after creating Theme.xml and fixing header and footer in the
html
> > > page
> > > > > > source is still showing me the same thing it's header and footer
> > are
> > > > > still
> > > > > > coming from ecommerce
> > > > > >
> > > > > > In simple words
> > > > > > how can i use my own created templete rather than using the
> > templete
> > > of
> > > > > > existing ecommerce application
> > > > > > in my own application
> > > > > >
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message