7
Quote:
twitchy wrote:
@JMorris sorry i dont have much experience with XOOPS but is it the theme.html of your theme that you add the code too ? as i cant seem to get it working
thx for taking the time out to help me
If you're just wanting the social bookmarking for your News articles, use gestroud's approach. It is simple and easy to do.
With the AddTo script, yes, you add it to theme.html. Then just follow the direction.
Add this right before the closing head tag in your theme
<script language="JavaScript" type="text/javascript">
var addtoLayout=0; // 0=Horizontal 1 row, 1=Horizontal 2 rows, 2=Vertical, 3=Vertical text only
var addtoMethod=1; // 0=direct link, 1=popup window
var AddURL = document.location.href; // this is the page's URL
var AddTitle = escape(document.title); // this is the page title
</script>
Then, either in your theme, or in a block, or in your templates, add the following.
<script language="JavaScript" src="http://yourdomain.com/addto/addto.js" type="text/javascript"></script>
Make sure you correct the domain and folder name accordingly.
Save, clear templates_c and go. Now your whole site can benefit from social bookmarking, not just the news.
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.