Hi all,
I want to put a Like button of my fanpage on top of the every popup window, or a banner of my fanpage. How can I execute this?
Thanks in advance!
Posted 28 March 2013 - 10:27 AM
Hi all,
I want to put a Like button of my fanpage on top of the every popup window, or a banner of my fanpage. How can I execute this?
Thanks in advance!
Posted 29 March 2013 - 06:32 PM
This isn't the easiest mod in the world, but definitely doable. Here's what I would suggest:
<?php /** * Copyright 2006 - 2013 TubePress LLC (http://tubepress.org) * * This file is part of TubePress (http://tubepress.org) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ echo ${tubepress_api_const_template_Variable::EMBEDDED_SOURCE};
<YOUR LIKE BUTTON HTML HERE> <?php /** * Copyright 2006 - 2013 TubePress LLC (http://tubepress.org) * * This file is part of TubePress (http://tubepress.org) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ echo ${tubepress_api_const_template_Variable::EMBEDDED_SOURCE};
invoke = function (e, playerName, height, width, videoId, galleryId) {
to
invoke = function (e, playerName, height, width, videoId, galleryId) { height += 25; //or however tall your like button is
A little complicated, I know, but for now it's the best way to get it done. Please give it a shot and let us know. Thanks!
Posted 30 March 2013 - 01:44 PM
That's what I needed.
Thank you Eric! I appreciate your help!