Post by Rickerby » Fri Jul 13, 2012 10:07 am

Hi all,

I am trying to create a VQMOD to move the following header links to the menu bar leaving only the "My account" link
for Opencart version 1.5.2.1:

• Home
• Wish List
• Shopping Cart
• Checkout

Sorry if this is a tedious topic for some, however here is my attempt:

<file name="catalog/view/theme/lite_blue_152/template/common/header.tpl">
<operation>
<search position="replace" offset="3"><![CDATA[
<div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a>
]]></search>
<add><![CDATA[
<div class="links"><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><?php echo
]]></add>
</operation>
</file>

The above is probably a shambles, but if someone has any input that would be hugely appreciated. :)

Newbie

Posts

Joined
Tue Oct 18, 2011 5:10 am

Post by Jeremy Fisk » Mon Jul 16, 2012 5:36 am

Ok, so what is you are trying to do?... are you trying to remove the "Home, Wish List,Shopping Cart, and Checkout" and leav only the "My Account" link?

Because if thats what it is i will create one for you to show you how to do it (they are very simple to create)... as the one you have created wont work...

Cheers

jem

Hand Dryers

Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover


User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)
Who is online

Users browsing this forum: No registered users and 1 guest