Post by seanie86 » Sat May 05, 2012 7:56 am

Hi,

I couldn't find this mentioned on the forums so I thought I would ask.

I am looking at moving the "contact us" link in the footer of the opencart default template from "customer service" column to the "information" column.

Can this be done? If so how?

Thanks,

Sean
Last edited by seanie86 on Thu Mar 27, 2014 1:48 am, edited 1 time in total.

New member

Posts

Joined
Sat Jan 14, 2012 1:08 am

Post by petrus » Sat May 05, 2012 8:28 am

Try edit file footer.tpl

New member

Posts

Joined
Sun Apr 17, 2011 4:21 pm

Post by seanie86 » Sat May 05, 2012 8:48 am

Is that the only file I will need to change in order to add the contact us part? are the other files I need to edit?

New member

Posts

Joined
Sat Jan 14, 2012 1:08 am

Post by petrus » Sat May 05, 2012 8:56 am

Yes only 1 file. Just move code

Code: Select all

<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
Code should like this:

Code: Select all

<ul>
      <?php foreach ($informations as $information) { ?>
      <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
      <?php } ?>
<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
    </ul>

New member

Posts

Joined
Sun Apr 17, 2011 4:21 pm

Post by seanie86 » Sun May 06, 2012 4:13 am

Hi Thanks,

That worked perfectly!

New member

Posts

Joined
Sat Jan 14, 2012 1:08 am
Who is online

Users browsing this forum: No registered users and 49 guests