Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: Browser title and breadcrumb not updated

Browser title and breadcrumb not updated 8 years 1 month ago #13734

Hello, Im using Clean Mart 3.9.3, VM 3.0.12, Joomla 3.4.8

when selcting a product variant, browser title and breadcrumb are not updated.
- ]Switching of Ajax Loading in VM and Clean Mart -> still loads with ajax, no effect
- Deactivating Clean Mart and leaving ajax loading on in VM -> Breadcrumb and browser title changes
- Deactivating Clean Mart and switching off ajax loading in VM -> Breadcrumb and browser title changes

Therefore definitively a Clean Mart issue, I think.

Please check: 3.x.bikeinside.de/shop-innenraum-fahrradtraeger/bikeinside-komplettset-detail.html

What is to do?

Best regards

Christian
The administrator has disabled public write access.

Browser title and breadcrumb not updated 8 years 1 month ago #13747

Hi,

Your website is not currently using CleanMart.. If i can't see the problem, i can't help.

But make sure to modify the dynupdate.js as i mentioned in your other topic: www.flexiblewebdesign.com/forum-virtuemart-template-support/3257-update-to-3-9-3

regards.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 8 years 1 month ago #13765

The Site is using Clean Mart, but with several css changes, please re-check!

I followed your intructions regarding dynupdate.js, but only wit the effect that the spinner does not load anymore.

Best regards

Christian
Last Edit: 8 years 1 month ago by Teuber Christian.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 8 years 1 month ago #13799

Hi,

I need to investigate your case deeply to figure out what is going on. Please fill out this support-request-form below and email it to This email address is being protected from spambots. You need JavaScript enabled to view it. and i will take a look at your website ASAP.

I will first try to disable the CleanMart and see if breadcrumbs and browser titles are changing in origina Virtuemart layout. If so, then it means CleanMart is guilty and will try to patch it. But, i highly doubt that it works fine with official Virtuemart as well. Because Dynupdate is happening within the product details DIV wrap, only the content within the DIV is updated. The breadcrumb and the page title is out of scope of AJAX. In order to update them, you must disable the AJAX loading, so the whole page will be refreshed (but you insisted that if CleanMart is deactivated, everything works fine, so i have to first validate what you are saying on your website)
 
[Problem]
http://www.flexiblewebdesign.com/forum-virtuemart-template-support/3256-browser-title-and-breadcrumb-not-updated
 
[The URL(s) to see the failure on your website]
http://3.x.bikeinside.de/shop-innenraum-fahrradtraeger/komplettset/standard-1-2-1-75m.html
 
[Joomla Administrator Credentials]
<< Joomla Administrator URL & Username & Password >>
 
[FTP credentials] (Provide FTP credentials in this format below)
FTP server: ftp.yourdomain.com
FTP username: <<username>>
FTP password: <<password>>
Port: << port number -- if it is other than 21 -->>

regards.
Last Edit: 8 years 1 month ago by Support.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 8 years 1 month ago #13809

Hello, I did send you the data already 2 days ago, when will you have time to have look at this issue?

Best regards

Christian
The administrator has disabled public write access.

Browser title and breadcrumb not updated 8 years 3 weeks ago #13860

Hi,

Are you sure you sent the email to This email address is being protected from spambots. You need JavaScript enabled to view it. ? I can't seem to find any email in This email address is being protected from spambots. You need JavaScript enabled to view it. inbox that comes from your email (This email address is being protected from spambots. You need JavaScript enabled to view it.)

regards.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 7 years 4 months ago #14669

This problem has not been solved. We have Joomla! 3.6.2 and VM3 Template - CleanMart 3.9.6
The administrator has disabled public write access.

Browser title and breadcrumb not updated 7 years 4 months ago #14676

Hi,

This is exactly the same in official Virtuemart Component (without CleanMart). Navigating to next-prev products doesn't update the breadcrumbs or page titles etc.. We are not responsible to solve the Virtuemart Bugs. You should raise this issue on Virtuemart's Official Forum (forum.virtuemart.net)

- But i must say; this is against the idea of running AJAX loading. AJAX is exist to update just the "portion" of the page to increase the loading time. If the the title of the page; or breadcrumbs etc.. are all updated, then running AJAX is non-sense. Because you want to update many things.

To fix this problem, you must disable the AJAX loading for product next-prev navigation. To do it;

1- open these PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetaiils/default.php
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetaiils/flexv2.php


2- Find these lines:
<?php if (!empty($this->product->neighbours ['previous'][0])) {
					$prev_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['previous'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id);?>
              <a class="FlexibleNeighbours FlexibleNeighboursPrev" data-dynamic-update="1" href="<?php echo $prev_link; ?>" title="<?php echo $this->product->neighbours ['previous'][0]['product_name']?>" ></a> <span class="FlexibleNeighborSeperator"></span>
              <?php  }?>
              <?php if (!empty($this->product->neighbours ['next'][0])) {
					$next_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['next'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id); ?>
              <a class="FlexibleNeighbours FlexibleNeighboursNext" data-dynamic-update="1" href="<?php echo $next_link; ?>" title="<?php echo $this->product->neighbours ['next'][0]['product_name'];?>" ></a>
              <?php } ?>

3- Replace them with these:
<?php if (!empty($this->product->neighbours ['previous'][0])) {
					$prev_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['previous'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id);?>
              <a class="FlexibleNeighbours FlexibleNeighboursPrev" href="<?php echo $prev_link; ?>" title="<?php echo $this->product->neighbours ['previous'][0]['product_name']?>" ></a> <span class="FlexibleNeighborSeperator"></span>
              <?php  }?>
              <?php if (!empty($this->product->neighbours ['next'][0])) {
					$next_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['next'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id); ?>
              <a class="FlexibleNeighbours FlexibleNeighboursNext" href="<?php echo $next_link; ?>" title="<?php echo $this->product->neighbours ['next'][0]['product_name'];?>" ></a>
              <?php } ?>

TIP: Remove the data-dynamic-update="1" attribute from the NEXT-PREV links.

Regards.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 7 years 4 months ago #14713

It fixed it, thank you.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 7 years 4 months ago #14721

glad it fixed it.

case solved, topic is locked.

regarsd.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 7 years 2 months ago #14794

Hi, just an observation -
This fixes things nicely in the product details view, with the update on breadcrumbs and browser title; however it causes problems in the Quick Look loading if you use that function and scroll next or previous.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 7 years 2 months ago #14797

Hi Alison,

Good point. AJAX should keep running just the way it is within the "QuickLook", we can't load the entire page within a modal box.

So, the idea is "checking".

If inMODAL
runAJAX (no change)
ELSE
don't runAJAX (load the page just normal)

Try this patch;

Replace this line:
<?php if (!empty($this->product->neighbours ['previous'][0])) {
					$prev_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['previous'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id);?>
              <a class="FlexibleNeighbours FlexibleNeighboursPrev" data-dynamic-update="1" href="<?php echo $prev_link; ?>" title="<?php echo $this->product->neighbours ['previous'][0]['product_name']?>" ></a> <span class="FlexibleNeighborSeperator"></span>
              <?php  }?>
              <?php if (!empty($this->product->neighbours ['next'][0])) {
					$next_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['next'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id); ?>
              <a class="FlexibleNeighbours FlexibleNeighboursNext" data-dynamic-update="1" href="<?php echo $next_link; ?>" title="<?php echo $this->product->neighbours ['next'][0]['product_name'];?>" ></a>
              <?php } ?>

with this instead:
<?php if (!empty($this->product->neighbours ['previous'][0])) {
					$prev_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['previous'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id);?>
              <a class="FlexibleNeighbours FlexibleNeighboursPrev" <?php echo (($parameter == "quicklook") ? 'data-dynamic-update="1"' : '');?> href="<?php echo $prev_link; ?>" title="<?php echo $this->product->neighbours ['previous'][0]['product_name']?>" ></a> <span class="FlexibleNeighborSeperator"></span>
              <?php  }?>
              <?php if (!empty($this->product->neighbours ['next'][0])) {
					$next_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['next'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id); ?>
              <a class="FlexibleNeighbours FlexibleNeighboursNext" <?php echo (($parameter == "quicklook") ? 'data-dynamic-update="1"' : '');?> href="<?php echo $next_link; ?>" title="<?php echo $this->product->neighbours ['next'][0]['product_name'];?>" ></a>
<?php } ?>


FYI: The $parameter variable returns quicklook if the product-page is opened within a modal-popup.

Regards.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 7 years 2 months ago #14800

Hi and thank you.
I tried this, and it seemed to work perfectly for the first 3 or 4 products scrolling to next in the modal box, but then it changed and loaded the entire site page again. Not sure why that would happen, but it seemed to forget what it was doing.
The administrator has disabled public write access.

Browser title and breadcrumb not updated 7 years 2 months ago #14804

Hi,

Mmmm.

Maybe you are using different layouts for some products? (There are 2 product details page layouts, default and flexv2).. If you made your modifications to "default" only and navigate to a product that use the "flexv2" layout (after clicking next-prev buttons); flexv2 will remain working the way it was (opening the entire page within he modal popup)

Just make sure to apply same patch to both "default" and "flexv2" product details page layouts.

Which are here:
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetaiils/default.php
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetaiils/flexv2.php

regards.
The administrator has disabled public write access.
Time to create page: 0.208 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo