How to Add AddThis.com

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/17/2009 2:14:44 PM
Gravatar
Total Posts 12

How to Add AddThis.com

I've created an account at AddThis.com and entered the username in the site admin section of MojoPortal.

How do I now add addthis to the page? I couldn't find any documentation on it.

 

TIA

 

Simon

5/19/2009 5:34:09 AM
Gravatar
Total Posts 18439

Re: How to Add AddThis.com

Hi Simon,

Sorry I didn't respond sooner, this one slipped to the bottom of my inbox. 

The setting is in Site Settings, (key icon) Administration Menu > Site Settings > API Keys

Best,

Joe

5/31/2009 11:00:04 AM
Gravatar
Total Posts 12

Re: How to Add AddThis.com

I think you've misunderstood the question.

 

I have already added it into site Settings but how do i get it to display on a particular page?

 

Thanks

 

Simon

5/31/2009 11:39:57 AM
Gravatar
Total Posts 18439

Re: How to Add AddThis.com

Hi Simon,

I answered you incorrectly before. I "thought" I had previously wired it up to automatically use the site setting in the <mp:AddThisButton included in the layout.master of your skin:

<mp:AddThisButton ID="at1" runat="server"
AccountId=""
ButtonImageUrl="~/Data/SiteImages/addthisbookmarkbutton.gif"
Text="Share This Using Popular Bookmarking Services"
CustomBrand=""
CustomLogoUrl=""
CustomLogoBackgroundColor=""

/>

but I was mistaken, I must not have got to it, so you would have to enter it there manually on the AccountId by editing it in layout.master.

I have fixed it for the next release but because my AddThisButton lives in a separate project and has no knowledge of site settings, I had to make a new control in the mojoPortal.Web project that inherists from the AddThisButton but does know about site settings so it can automatcially hook up the account. So, in the next release I have changed it in the included skins to this new control:

<portal:mojoAddThisButton ID="at2" runat="server"
AccountId=""
ButtonImageUrl="~/Data/SiteImages/addthisbookmarkbutton.gif"
Text="Share This Using Popular Bookmarking Services"
CustomBrand=""
CustomLogoUrl=""
CustomLogoBackgroundColor=""

/>

The only difference is the <portal: prefix vs the <mp: prefix, but the <portal: version will automatically get the account id from site settings.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.