Post by Sloun » Wed Jul 16, 2014 4:18 am

I do some 'hack' to breadcrumbs view.
The code is:

Code: Select all

<div class="breadcrumb"><div xmlns:v="http://rdf.data-vocabulary.org/#">
<?php $seocrumbs = array_pop($breadcrumbs); ?>
<?php foreach($breadcrumbs as $seocrumb) { ?>
<span typeof="v:Breadcrumb"><?php echo $seocrumb['separator']; ?><a href="<?php echo $seocrumb['href']; ?>" rel="v:url" property="v:title"><?php echo $seocrumb['text'];?></a></span>
<?php } ?>
<?php echo $seocrumb['separator'];?> <p><?php echo $seocrumbs['text']; ?></p>
</div>
It just remove link from last breadcrumb and adds microdata.
The problem is, I just can't get it working if I use vqmod. When I change code in file manufacturer_info.tpl - everything works perfectly, but if I use vqmod - brand href is incorrect (http://site.com/, but must be /index.php?route=product/manufacturer).
I look in to vqmod.cached file (template_product_manufacturer_info.tpl), it looks ??? like it should.
I also tryed latest vqmod version. The problem is still here.
Opencart 1.5.3.1

Newbie

Posts

Joined
Mon Jul 29, 2013 2:55 am

Post by Sloun » Wed Jul 16, 2014 9:02 am

Sorry. My fault. Just forgot to remove another vqmod, which affect this file.

Newbie

Posts

Joined
Mon Jul 29, 2013 2:55 am
Who is online

Users browsing this forum: No registered users and 2 guests