[ofbiz-plugins] branch trunk updated: Improved: Breadcrumbs should be shown on all the pages of eCommerce application (OFBIZ-2584) Right now in OOTB eCommerce application breadcrumbs are only shown for catalog pages. It should be available on other pages too.

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

[ofbiz-plugins] branch trunk updated: Improved: Breadcrumbs should be shown on all the pages of eCommerce application (OFBIZ-2584) Right now in OOTB eCommerce application breadcrumbs are only shown for catalog pages. It should be available on other pages too.

adityasharma
This is an automated email from the ASF dual-hosted git repository.

adityasharma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 12e9f08  Improved: Breadcrumbs should be shown on all the pages of eCommerce application (OFBIZ-2584) Right now in OOTB eCommerce application breadcrumbs are only shown for catalog pages. It should be available on other pages too.
12e9f08 is described below

commit 12e9f087a476c32e9b9e2d4fc526f59a9567ac0a
Author: Aditya Sharma <[hidden email]>
AuthorDate: Tue Jun 2 19:20:59 2020 +0530

    Improved: Breadcrumbs should be shown on all the pages of eCommerce application
    (OFBIZ-2584)
    Right now in OOTB eCommerce application breadcrumbs are only shown for catalog pages. It should be available on other pages too.
   
    Added breadcrumb for ContactUs and Anonymous ContactUs page
   
    Thanks Pranay Pandey for reporting the issue and Aishwary Shrivastava for providing the patch
---
 ecommerce/template/customer/AnonContactus.ftl | 4 ++++
 ecommerce/template/customer/NewMsg.ftl        | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/ecommerce/template/customer/AnonContactus.ftl b/ecommerce/template/customer/AnonContactus.ftl
index 2e97668..c97a4b5 100644
--- a/ecommerce/template/customer/AnonContactus.ftl
+++ b/ecommerce/template/customer/AnonContactus.ftl
@@ -17,6 +17,10 @@ specific language governing permissions and limitations
 under the License.
 -->
 
+<div class="breadcrumbs">
+    <a href="<@ofbizUrl>main</@ofbizUrl>" class="linktext">${uiLabelMap.CommonMain}</a> &gt;
+    ${uiLabelMap.CommonContactUs}
+</div>
 <div class="card m-3">
   <div class="card-header">
     <strong>${uiLabelMap.CommonContactUs}</strong>
diff --git a/ecommerce/template/customer/NewMsg.ftl b/ecommerce/template/customer/NewMsg.ftl
index bc1f202..c2efca0 100644
--- a/ecommerce/template/customer/NewMsg.ftl
+++ b/ecommerce/template/customer/NewMsg.ftl
@@ -17,6 +17,10 @@ specific language governing permissions and limitations
 under the License.
 -->
 
+<div class="breadcrumbs">
+  <a href="<@ofbizUrl>main</@ofbizUrl>" class="linktext">${uiLabelMap.CommonMain}</a> &gt;
+  ${uiLabelMap.CommonContactUs}
+</div>
 <div class="card m-3">
   <div class="card-header">
     <div class="boxlink">