<set field="visualThemeId" from-field="productStore.visualThemeId" default-value="MY_VISUALTHEME"/> tried still on the same problem
On Fri, Sep 21, 2018 at 4:00 PM Julien NICOLAS <[email protected]> wrote: > +1 > > > Le 21/09/2018 à 15:04, Deepak Dixit a écrit : > > Hi Shrilesh, > > > > Please check ProductStore entity, you should set visulaThemeId in > > ProductStore entity else it will pick the default ecommerce theme. > > > > You can check this in ecommerce main decorator. > > > > <set field="visualThemeId" from-field="productStore.visualThemeId" > > default-value="EC_DEFAULT"/> > > > > > > > > Thanks & Regards > > -- > > Deepak Dixit > > > > > > On Wed, Sep 19, 2018 at 6:57 PM, Shrilesh Korgaonkar < > > [email protected]> wrote: > > > >> Already checked the path and step to create a theme > >> > >> On Wed 19 Sep, 2018, 4:44 PM Arun Patidar, <[email protected]> > wrote: > >> > >>> Did you prepare and load VisualTheme data? > >>> > >>> Also, please check the name and path mention in this code block: > >>> > >>> <property name="VT_HDR_TMPLT_LOC" > >>> value="component://application-name/template/includes/Header.ftl"/> > >>> > >>> > >>> > >>> > >>> 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 4:28 PM Shrilesh Korgaonkar < > >>> [email protected]> wrote: > >>> > >>>> 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 < > [email protected] > >>>> 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 < > >>>>> [email protected]> 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, <[email protected] > >>>>> 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 < > >>>>>>> [email protected]> 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, < > >>> [email protected] > >>>>>>> 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 < > >>>>>>>>> [email protected]> 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 > >>>>>>>>>> > >
