I am trying to add my Add This social bookmarking code to the Absolute Links Sidebox add on.
I was able to install the Absolute Links Sidebox no problem, please see the sidebox here (labeled: Social Bookmarking): http://www.lasilhouettelingerie.com/store/index
Here is the page that I am supposed to add my link to:
Code:
<?php
/**
* Absolute Links Side Box Template
*
* @package templateSystem
* @copyright Copyright 2003-2007 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
*
* @version $Id: tpl_absolute_links.php 2007-07-09 06:06:06Z tolefairy
*
*/
$content = '<div id="absolutelinksContent" class="sideBoxContent centeredContent">';
/* Your html and/or javascript code goes between the 2 single quotes in the next line */
$content .= '';
$content .= '</div>';
?>
As you can see all I have to do is put my javascript or html code inbetween the single line quotes for $content. But when I past my code into this box everything below this line does not show including the box.
This is the code I am trying to paste into the $content area above:
Code:
<!-- AddThis Button BEGIN -->
<script type="text/javascript">addthis_pub = 'MYUSERNAMEHERE';</script>
<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
<!-- AddThis Button END -->
Anyone know why this social bookmarking code is incompatible with the php page above. The line says that it will accept javascript or html? I don't know how to convert this that may be the problem.
Any help would be much appreciated!
Bookmarks