Post by Rebecka » Sat Dec 03, 2011 5:15 am

I want to add links in the footer (to opposite side of copyright text). How do I do that?

I would also like to remove "Powered By OpenCart" and only keep "Your Store © 2011". How do I do that?

Thanks in advance!
Last edited by Rebecka on Sat Dec 03, 2011 7:20 am, edited 1 time in total.

Rebecka went over to PrestaShop.


Active Member

Posts

Joined
Sun Sep 18, 2011 4:49 am
Location - Sweden

Post by inactiveaccount9912 » Sat Dec 03, 2011 5:18 am

To add link to footer, you would have to edit the file located in catalog/view/theme/yourtheme/template/common/footer.tpl . Add your links around or inside the powered div.

To remove just the powered by opencart part edit the file catalog/language/yourlanguage/common/footer.php > there you will realise what you have to delete.

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by Rebecka » Sat Dec 03, 2011 5:36 am

florinsith wrote:To add link to footer, you would have to edit the file located in catalog/view/theme/yourtheme/template/common/footer.tpl . Add your links around or inside the powered div.
Thanks!
florinsith wrote:To remove just the powered by opencart part edit the file catalog/language/yourlanguage/common/footer.php > there you will realise what you have to delete.
I want to have information links in the footer but when I add this

Code: Select all

<a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a>
I only get "Terms & Conditions" in the footer which is strange since I also have About us, Delivery Information and Privacy Policy. How do I get all information links to appear? I guess I use the wrong code given above. :-\

Rebecka went over to PrestaShop.


Active Member

Posts

Joined
Sun Sep 18, 2011 4:49 am
Location - Sweden

Post by inactiveaccount9912 » Sat Dec 03, 2011 6:17 am

You copy all that code inside that column div. But why?

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by Rebecka » Sat Dec 03, 2011 6:22 am

Why I copy this

Code: Select all

<a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a>
inside powered div?

Well, I want to have all information links in the footer. :D

Rebecka went over to PrestaShop.


Active Member

Posts

Joined
Sun Sep 18, 2011 4:49 am
Location - Sweden

Post by inactiveaccount9912 » Sat Dec 03, 2011 6:24 am

All the information links are allready in footer in oc 1.5. And the code to copy would be this one:

Code: Select all

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

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by Rebecka » Sat Dec 03, 2011 6:58 am

Should the code really be like that? Will not there be a list?

I know that all information links already are in the footer, but I will not keep this footer. I want to have all information links on the same row as the copyright text.

Edit: Never mind, I fixed it.

Rebecka went over to PrestaShop.


Active Member

Posts

Joined
Sun Sep 18, 2011 4:49 am
Location - Sweden

Post by notaprogrammer » Wed Dec 07, 2011 2:34 am

thanks.


Posts

Joined
Sat Dec 03, 2011 6:33 am
Who is online

Users browsing this forum: Amazon [Bot] and 52 guests