I had a problem with the links in the breadcrumbs not being SEF compliant (using sh404sef build 237), despite their being no problem with other category navigation links. I fixed the problem by changing the code in ps_product_category->getPathway() so that it matches that in categoryChildlist.tpl
Line 1254 of ps_product_category.php (vm build 1851) was changed from
$item->link = $sess->url( $_SERVER['PHP_SELF'] . "?page=shop.browse&category_id=$category[category_id]", true, false );
to
$item->link = $sess->url( URL.'index.php?option=com_virtuemart&page=shop.browse&category_id='.$category['category_id'] );
regards
Phil
Thanks doorknob. It works great.:)
it works fine for me. VM rel. is 1.1.3. ps_product_category.php is under \administrator\components\com_virtuemart\classes, line number is 1244. Thanks.
Doorknob, I cannot read all the code you posted here. It is cut off, could you re-post it?
FROM:
$item->link = $sess->url( $_SERVER['PHP_SELF'] . "?page=shop.browse&category_id=$category[category_id]", true, false );
TO:
$item->link = $sess->url( URL.'index.php?option=com_virtuemart&page=shop.browse&category_id='.$category['category_id'] );
QuoteDoorknob, I cannot read all the code you posted here. It is cut off, could you re-post it?
Try clicking on the left and dragging to the right. The content will scroll.
Phil
Does not work for VM 1.1.4
QuoteDoes not work for VM 1.1.4
Thanks for such a detailed description of your assessment.
The patch works for me with all versions of 1.1.4 up to build 2296, which is the latest I've tested it with. sh404sef is full of problems. See another of my posts here http://forum.virtuemart.net/index.php?topic=63945.0 (http://forum.virtuemart.net/index.php?topic=63945.0)
Thank you so much!!! Worked perfectly!