'share' link in my linkbar goes nowhere and I can't get rid of it

Feb 22, 2012 15:31

You can view this error by just going to my journal. At the top, in the linkbar there is a word link to 'share' which goes nowhere and for the life of me I can't figure how it got there and how to get rid of it ( Read more... )

solved, stylesheet

Leave a comment

Comments 5

toboe_lonewolf March 10 2012, 18:52:38 UTC
You need to fix your Entry::print_linkbar() function. Apparently LJ has removed the "tell someone" function and replaced/renamed it as the share function.

In Entry::print_linkbar(), under the linkbar_images and linkbar_captions strings, change the "tell_friend" text to "share"

I think that's all that needs to be done. It worked for my layout, but I don't bother to change the images so all I did was tweak LJ's original code to change the separator, whereas it seems like you change both images and separator.

Reply

bexatious March 10 2012, 18:58:00 UTC
OMG thank you so very much! It worked perfectly!

Reply

toboe_lonewolf March 11 2012, 00:59:55 UTC
Actually, it seems like while the image has made it through, the actual share link function hasn't. When you click on it a pop-up window should come up showing options to share it via Facebook/Twitter/Tumbler/etc.

I did a hackjob of the code and this should work. Just replace your entire Entry::print_linkbar() function with this:

function Entry::print_linkbar ( ... )

Reply

bexatious March 11 2012, 01:07:27 UTC
Oh, thank you! I didn't realise it went nowhere, I just checked to see the image worked. You're so kind to actually followup :D It seems to work now!

Reply


Leave a comment

Up