Adding a facebook like-button for Geeklog

If you have more than one web site and need to attract visitors between your sites this is a good way to do it. If you want an example of what it does, check the button in the lower left corner of your browser. Basically it's a button that will popup a list of sites, in this case it points to different projects and sites related to EnkelAdress.

Minimum coding

All you need to do is download a zip file, extract, make some minor modifications and upload to one of your servers. All code is pure javascript and html.

Download and edit

 

  • Download zip archive here.
  • Extract content to a folder of your choosing.
  • Edit, use or replace the three images found in the archive.
  • Open ea_ring.js in a text editor of your own choice
  • The script file has two sections marked with
    /*  Modify xxxx ->
    These sections indicates values that you can replace with your own.
    imagePathUrl
    • set this variable to where the button images will be placed
    imageButtonFileName
    • Indicates the filename without path of the file that will represent the button in normal/unpressed state
    imageButtonDownFileName
    • Tells the filename of the image that will be shown when you hover the button with your mouse.
    closeButtonFileName
    • This tells the filename of the "close menu" icon.
    addSite('xxxx', 'xxxx'); 
    • Remove the existing addSite calls and add your own in the following manner,
      addSite(URL, TITLE)
  • Upload the files, and remember to upload the images so their path match the imagePathUrl and imageXXXFilename variables

 

Edit your sites

In the web page that you want to display the button on, navigate the source to somewhere between the body tags. Add this code:

where URL represent the full url to where ea_ring.js is uploaded.

 

And there you have it.

 

 Adding a facebook like-button for Geeklog

If you have more than one web site and need to attract visitors between your sites this is a good way to do it. If you want an example of what it does, check the button in the lower left corner of your browser. Basically it's a button that will popup a list of sites, in this case it points to different projects and sites related to EnkelAdress.

 Facebook Like-button for Geeklog

The reason for this is simply put: exposure. Your site link will be exposed to everyone who is friends with a person who have "liked" your page. This is a free, simple and fast way of marketing your site. This guide will focus on how to implement the button in GeekLog with the professional theme applied.

Page 2 / 2

 Facebook PHP SDK login problem

Have you integrated a facebook login to your site, or are you planning to? There\'s a small bug involving the sign in process that can make your life miserable unless you know how to get around it. Here\'s one possible solution.

 Thumbs Up Immerse VR Headset

This Immerse headset from ThumbsUp offers both positive and negative sides.

 Know your limits: Web Design

You might have the best app ever created, or you might have the user friendliest web page in the world. You might even have the most useful piece of shareware ever made and still not making any money.

 DroidXplorer big in China?

According to an email DroidXplorer will be preinstalled on devices, and be featured on a set of app stores. For free.

 Would this interest you?

Page 1 / 11