ecommerce / CommonScreens.xml

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

ecommerce / CommonScreens.xml

Schubi
Hi

I try to edit the webpage of the ecommerce.

I try to edit the webpage of the ecommerce.
 
first i copyed the ecommerce aplication to the hot-deploy and rename it to fdick. I changed some links in the web.xml and commonscreens.xml to move only in my new application.
 
Now I have a question to a line in the CommonScreens.xml
 
<set field="headerTemplateLocation"  from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]" default-value="component://fdick/webapp/ecommerce/includes/header.ftl"/>
 
can someone explain me the variable VT_HDR_TMPLT_LOC where can i find the variable or change it? I only know that with this variable my aplication jumps back to the ecommerce aplication and use the header.ftl from ecommerce. but i want to use the header.ftl of my new application! if i set manualy the value
 
<set field="headerTemplateLocation"  value="component://fdick/webapp/ecommerce/includes/header.ftl"/>
 
it still work that the header.ftl from my new application is used but then the page dosn´t show the Featured products any more.
 
maybe someone can help me
Reply | Threaded
Open this post in threaded view
|

Re: ecommerce / CommonScreens.xml

Adrian Crum
That is a visual theme setting. Look in the visual theme entities.

-Adrian

Schubi wrote:

> Hi
>
> I try to edit the webpage of the ecommerce.
>
> I try to edit the webpage of the ecommerce.
>  
> first i copyed the ecommerce aplication to the hot-deploy and rename it to
> fdick. I changed some links in the web.xml and commonscreens.xml to move
> only in my new application.
>  
> Now I have a question to a line in the CommonScreens.xml
>  
> <set field="headerTemplateLocation"
> from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"
> default-value="component://fdick/webapp/ecommerce/includes/header.ftl"/>
>  
> can someone explain me the variable VT_HDR_TMPLT_LOC where can i find the
> variable or change it? I only know that with this variable my aplication
> jumps back to the ecommerce aplication and use the header.ftl from
> ecommerce. but i want to use the header.ftl of my new application! if i set
> manualy the value
>  
> <set field="headerTemplateLocation"
> value="component://fdick/webapp/ecommerce/includes/header.ftl"/>
>  
> it still work that the header.ftl from my new application is used but then
> the page dosn´t show the Featured products any more.
>  
> maybe someone can help me
Reply | Threaded
Open this post in threaded view
|

Re: ecommerce / CommonScreens.xml

Schubi
This post was updated on .
thanks for your help

I found the variable. But I see no connection between the VT_HDR_TMPLT_LOC witch is for the implementation of the header and the window from the Featured products. Is there somethink special to look for? The used header.ftl and headerHead.ftl are still the same in both applications i just changed the title part

ADDITION

Hi i just tryed on https://localhost:8443/catalog/control/updateProductStore to change the Visual Theme

After that I changed in the EC_DEFAULT and in the MULTIPLEX them the headerhead implematation to my one
<#include "component://fdick/webapp/ecommerce/includes/headerHead.ftl" />
#
if the MULTIPLEX theme is activatet the Featured products are still shown if I activate the EC_DEFAULT the Featured products part is still empty! and if I click on some Productgroups only the headline comes and the rest of the main part of the window is still empty!
In MULTIPLEX all thinks run well with the other headerhead.ftl.
Reply | Threaded
Open this post in threaded view
|

Re: ecommerce / CommonScreens.xml

Yoke Power
Hi,


   - As you mentioned yourself there is no relation between VT_HDR_TMPLT_LOC
   and the Featured Products Window
   - Featured products come from the Category with the category type
   Promotions. So look at the Catalog that you are viewing from the eCommerce
   module and verify if there is a Category for promotions configured




On Wed, Aug 12, 2009 at 4:36 AM, Schubi <[hidden email]> wrote:

>
> thanks for your help
>
> I found the variable. But I see no connection between the VT_HDR_TMPLT_LOC
> witch is for the implementation of the header and the window from the
> Featured products. Is there somethink special to look for? The used
> header.ftl and headerHead.ftl are still the same in both applications i
> just
> changed the title part
> --
> View this message in context:
> http://www.nabble.com/ecommerce---CommonScreens.xml-tp24916251p24931864.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>