Hi Kiran,

Can you create a jira issue, describe what problem it is fixing and
upload the patch there?

Bilgin

On Wed, Sep 7, 2011 at 11:04 PM,  <[email protected]> wrote:
> Hello Friends,
>
> I have updated breadcrumbs.ftl as below. It avoids recursion of each
> category. Hence efficient.
>
>  <ul class="breadcrumbs">
>    <li>
>      <a href="<@ofbizUrl>main</@ofbizUrl>" class="linktext">
> ${uiLabelMap.CommonMain}</a> &gt;
>    </li>
>    <#-- Show the category branch -->
>    <#assign crumbs = Static["org.ofbiz.product.category.CategoryWorker"
> ].getTrail(request)/>
>    <#list crumbs as crumb>
>            <#if (catContentWrappers[crumb]?exists)>
>                <li><#if crumb_has_next>
>                              <a href="<@ofbizCatalogUrl
> currentCategoryId=crumb previousCategoryId=previousCategoryId!""/>">
>                                  ${catContentWrappers[crumb].get(
> "CATEGORY_NAME")}
>                              </a> &gt;
>                        <#else>
>                                <strong>
>                                          ${catContentWrappers[crumb].get(
> "CATEGORY_NAME")}
>                                </strong>
>                        </#if>
>                </li>
>                <#assign previousCategoryId = crumb />
>        </#if>
>    </#list>
>    <#-- Show the product, if there is one -->
>    <#if productContentWrapper?exists>
>    <li>${productContentWrapper.get("PRODUCT_NAME")?if_exists}</li>
>    </#if>
>  </ul>
>
>
> Regards,
> Kiran Gawde
>
> Senior Software Architect
> Object Edge Inc
> (925) 943 5558 x108
>
> "Never give up on what you really want to do. The person with big dreams
> is more powerful than one with all the facts" - Unknown

Reply via email to