VBGamer.....
Im trying to apply manually the "addthis social bookmarking" mod to the articles in the article.template.php
"addthis social bookmarking" code
<!-- AddThis Bookmark Button BEGIN -->
<td align="right" valign="middle" style="padding-right: 6px;">
<script language="JavaScript" type="text/javascript"><!-- // -->
addthis_url = location.href;
addthis_title = document.title;
addthis_pub = \'\';
// ]]></script>
<script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</td>
<!-- AddThis Bookmark Button END -->
into article.template.php
// Show the title
echo '<tr class="titlebg">
<td align="center">', $context['article']['title'], '</td>
</tr>';
echo '<tr class="windowbg">
<td><span class="smalltext"><b>',$txt['smfarticles_submittedby2'],'</b>', '
<a href="',$scripturl, '?action=profile;u=',$context['article']['ID_MEMBER'],'">', $context['article']['realName'], '</a>
<b>',$txt['smfarticles_date2'],'</b> ',
timeformat($context['article']['date']), '
<b>',$txt['smfarticles_views2'],'</b> ',
$context['article']['views'], '
</span>
</td>
</tr>';
// Show Summary
if (!empty( $context['article']['description']))
echo '<tr class="windowbg">
<td><b>',$txt['smfarticles_summary2'],'</b>',
$context['article']['description'], '</td>
</tr>';
// Show article
echo '<tr class="windowbg">
<td><hr />
',parse_bbc($context['article_page']['pagetext']),'
</td>
</tr>';
My problem is,no matter where i add the social bookmark code,it shows crooked or out of place.
Any ideas?