Add FB and Twit Image To Quicklinks

I am trying to add small facebook logos and twitter logos to my quicklinks but it doesnt appear to want to work. Any help with this would be great thank you. I’m trying to get it so that it sits to the far right of all the top quicklinks.



thank you

facebook.png

I almost got it but not just right some time ago and forgot about it. I edited the quick links template.



Anyone?

anyone got an answer for the quicklinks?

You will need to modify the template top_quick_links.tpl to insert a smarty html_image. The way it is setup now is to just display text.

I’m travelling now but when I’m back I will write down how to do it by using a hook.

thank you flow

Ok, so here we go…



First make sure you’ve got the my changes addon installed and turned on. Then:



In yourskin/customer/styles.css under quick links add:


.social-top {
float: right;
padding-right: 2px;
padding-top: 2px;
}




Then make a file called top_links.pre.tpl in yourskin/customer/addons/my_changes/hooks/index



Fill this file with the following code (I used facebook and twitter, please change the urls of the icons and pages):


```php



Become a fan on Facebook

Follow us on Twitter

```

Clear cache and to be sure also erase your smartoptimizer cache (comment: I noticed that after some changes you also have to erase your smartoptimizer cache!)

That's it! See attachment for how it looks on my site.