customize Addthis..

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/17/2009 2:22:40 AM
Gravatar
Total Posts 39

customize Addthis..

Hi,

How to customize Addthis options in mojo version 2.2.7.9.

It has lot of features like Email,Digg,print ,favorites and etc.. but i need only one option only when i mouse over...

And i need to remove the footer of the control (download the add this toolbar..)..

Is there any way to do this in this version ?

Thanks 

Murugan.

9/17/2009 6:03:05 AM
Gravatar
Total Posts 18439

Re: customize Addthis..

You can customize the button, sign in to addthis.com and then visit this url: http://addthis.com/help/custom-buttons

You will want to remove our AddThisButton from your layout.master file in your skin and replace it with the custom javascript.

I don't have a way yet for you t customize the AddThisButton in the blog so you might disable that one and just use the main one in the page. These customization options are new beta features of addthis.com.

I do not believe you can remove the footer. If you need to do that then you'll have to come up with your own bookmarking technique instead of using the free addthis.com service.

Hope it helps,

Joe

9/17/2009 6:36:57 AM
Gravatar
Total Posts 39

Re: customize Addthis..

Actullay, i tryed my own code using javascript, when i use this am getting permision denied error in mojo(its working fine in other testing sites).

i used that JS code in seperate file(external file).

Ex,

AddFav()

{

var title = "test ";

var url = "www.test.com";

if (window.sidebar) { // Mozilla Firefox Bookmark

window.sidebar.addPanel(title, url,"");

} else if(window.external) { // IE Favorite -

window.external.AddFavorite(url, title); //   am getting error in this line in only mojo(is there any setting for deny permision for this particular js method)

}else if(window.opera && window.print) { // Opera Hotlist

return true;

}

}

 

 

9/17/2009 6:43:58 AM
Gravatar
Total Posts 18439

Re: customize Addthis..

Nothing I know of would prevent custom javascript methods. I would try using Firebug to debug it or one of the IE web tools for debugging it. Whatever javascript error you get do some googling about it. Possibly default security settings in IE block creating favorites from javascript. I would think the url must match the current page, you can't bookmark www.test.com unless the pages is running in www.test.com is what I would expect to be the security rule, otherwise malicious sites would be favoriting all kinds of junk against our wishes.

Hope it helps,

Joe

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