Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #16100

    I try to add / enable functions “Like” + Twitter + other social media in the prettyPhoto modal windows.

    Is it possible?



    It has something to do with the pp_social on the prettyPhoto js file but I’m not sure how to turn it on again. Let me tag the rest of the support team to help you out.





    Please look at line 56 (yes, its a very long line) of jquery.Prettyphoto.js which is located in /js/prettyPhoto/js/ directory in the theme. About 33% into the line you will see :

    social_tools: '<div class="pp_social"><div class="twitter"><a href="" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src=""></script></div><div class="facebook"><iframe src="'+location.href+'&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' /* html or false to disable */

    If you want to add additional social media (twitter + facebook are already present) you would add the button code in a similar style as you see the twitter/facebook above, and you would paste the code behind the very last </div> but in front of the very last ‘single quote’.

    Please take a look at the example here -> (drag the photo)

    And also check the many examples on the prettyPhoto developers forum, there are numerous ways you can integrate social media listed there.

    prettyPhoto Support Forum ->




    Thanks Nick

    You are the best ! ;-)



    Glad that Nick helped you. :)



Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘[PROPULSION] Add Like + Twitter function in modal Windows’ is closed to new replies.