Documentation for screen customization?

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

Documentation for screen customization?

rhodebump
Hi Everyone,
I am poking around the documentation, trying to figure out the *Screens.xml file.  Can anyone point me to where I can find more info?

In addition, should the references to regions.xml be removed since it appears it's no longer in the 4.0 release?

thanks.

Reply | Threaded
Open this post in threaded view
|

Re: Documentation for screen customization?

rhodebump
Sorry for the second post.

What I am trying to accomplish is to have a customized page for a particular product.

1) I went to the catalog manager and set my the detail screen to be:
component://ecommerce/widget/CatalogScreens.xml#allgone

2) I added the following to CatalogScreens.xml:
    <screen name="allgone">
        <section>
            <actions>
                <set field="productsummaryScreen" value="component://ecommerce/widget/CatalogScreens.xml#productsummary"/>
                <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh"/>
            </actions>
            <widgets>
                <include-screen name="breadcrumbs"/>
                                <!--
                <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/catalog/productdetail.ftl"/></html></platform-specific>
                                -->
                <platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/catalog/allgoneproductdetail.ftl"/></html></platform-specific>
            </widgets>
        </section>
    </screen>


3) I copied /order/webapp/ordermgr/entry/catalog/productdetail.ftl to /order/webapp/ordermgr/entry/catalog/allgoneproductdetail.ftl and made a change to it.  My change was reflected in the application.


4) Now I want to remove the widgets Choose Catalog, Search Catalog, Browse Categories, Special Offers, etc.. The things that are in the left and right nav of the page.

Thanks for listening!


Phillip


----- Original Message -----
From: "Phillip Rhodes" <[hidden email]>
To: "user" <[hidden email]>
Sent: Sunday, September 16, 2007 10:18:25 PM (GMT-0500) America/New_York
Subject: Documentation for screen customization?

Hi Everyone,
I am poking around the documentation, trying to figure out the *Screens.xml file.  Can anyone point me to where I can find more info?

In addition, should the references to regions.xml be removed since it appears it's no longer in the 4.0 release?

thanks.


Reply | Threaded
Open this post in threaded view
|

Re: Documentation for screen customization?

Jacques Le Roux
Administrator
This may help : http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams

Your problem below is related to how decorators work and does not depend of the screen below. So you have to understand decorators
first...

Jacques

De : "Phillip Rhodes" <[hidden email]>

> Sorry for the second post.
>
> What I am trying to accomplish is to have a customized page for a particular product.
>
> 1) I went to the catalog manager and set my the detail screen to be:
> component://ecommerce/widget/CatalogScreens.xml#allgone
>
> 2) I added the following to CatalogScreens.xml:
>     <screen name="allgone">
>         <section>
>             <actions>
>                 <set field="productsummaryScreen" value="component://ecommerce/widget/CatalogScreens.xml#productsummary"/>
>                 <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh"/>
>             </actions>
>             <widgets>
>                 <include-screen name="breadcrumbs"/>
> <!--
>                 <platform-specific><html><html-template
location="component://order/webapp/ordermgr/entry/catalog/productdetail.ftl"/></html></platform-specific>
> -->
>                 <platform-specific><html><html-template
location="component://order/webapp/ordermgr/entry/catalog/allgoneproductdetail.ftl"/></html></platform-specific>
>             </widgets>
>         </section>
>     </screen>
>
>
> 3) I copied /order/webapp/ordermgr/entry/catalog/productdetail.ftl to
/order/webapp/ordermgr/entry/catalog/allgoneproductdetail.ftl and made a change to it.  My change was reflected in the application.
>
>
> 4) Now I want to remove the widgets Choose Catalog, Search Catalog, Browse Categories, Special Offers, etc.. The things that are
in the left and right nav of the page.

>
> Thanks for listening!
>
>
> Phillip
>
>
> ----- Original Message -----
> From: "Phillip Rhodes" <[hidden email]>
> To: "user" <[hidden email]>
> Sent: Sunday, September 16, 2007 10:18:25 PM (GMT-0500) America/New_York
> Subject: Documentation for screen customization?
>
> Hi Everyone,
> I am poking around the documentation, trying to figure out the *Screens.xml file.  Can anyone point me to where I can find more
info?
>
> In addition, should the references to regions.xml be removed since it appears it's no longer in the 4.0 release?
>
> thanks.
>
>