Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Disappearing social icons - fixed Rate Topic   - - - - -

  • fishtail
  • Member
  • Members
  • Join Date: 11-Jan 10
  • 123 posts

Posted 04 December 2013 - 06:57 AM #1

This is little annoying bug that I fixed and I thought I'd just share it with everyone in case it happens to you.

(Version 4.0.3)

If you try to edit the social block at the bottom of the page, and you want to edit "content", it opens the wysiwyg editor automatically and removes the icons, leaving only the text. So if you save (wether you make changes or not), the icons are gone.

To get them back, you need to click on "source" (I use the CKEditor, I couldn't find "source" on Redactor wysiwyg), and add this line anywhere you want the icon:
<i class="icon-facebook"></i>

Once you save it, it's fixed. But if ever you want to edit it again, you'll have to paste in the icon code.

Here's the original code if you want:
<p><span class="social-link facebook"><i class="icon-facebook"></i><a href="http://www.facebook.com/">Find us on Facebook</a></span></p>

And for Twitter:
<p><span class="social-link twitter"><i class="icon-twitter"></i><a href="http://www.twitter.com/">Find us on Twitter</a></span></p>

  • websmart
  • Junior Member
  • Members
  • Join Date: 11-Feb 10
  • 78 posts

Posted 14 January 2014 - 11:00 PM #2

I had the same issue and even after saving a bunch of times it kept deleting the icons, so this is what I did to fix it.

I went to manage blocks, created a new block "SocializeME" with template "HTML block with Smarty Support, then I just replaced the "Social links" with my new "SocializedME" block and deleted the other block "Social links"

Thanks for sharing your fix fishtail, it got me started.