MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

AddThis Plugin   (Mono Support )

28601 put(a) pogledan, 7 odgovor(a) 4.12.2016. 16:42:21Kreirao(la) sam0864
sam0864

sam0864

4.12.2016. 16:42:22
How can we customize AddThis Plugin and updating the shared image?
Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
dbracun

dbracun

9.12.2016. 9:29:27
Hi,

AddThis plugin can be modified by changing one of following templates (depending which is used on the page that you want to change):
- AddThisCode.htm
- AddThisCodeCount.htm
- AddThisCodeSharecount.htm
- AddThisCodeShort.htm

They are located under MonoX\Code\ContentSharing\AddThis.


If you only want to change plus icon, just replace AddThisButton.gif image with your own, but retain the name. This image is located under following folder structure:
~\App_Themes\Default\img\AddThisButton.gif

Regards
Ovaj sadržaj još nije ocijenjen. 
188 Reputacija 18 Ukupno objava
sam0864

sam0864

8.12.2016. 3:26:44
I don't see ContentSharing folder under MonoX\code

I have MonoX v5.1.40.5152
Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
sam0864

sam0864

9.12.2016. 4:14:46

Any update?? How can I change/update addthis setting?

Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
dbracun

dbracun

9.12.2016. 9:58:17
Hi,

Unfortunately, AddThis functionality cannot be changed without  access to the source code.
Regards
Ovaj sadržaj još nije ocijenjen. 
188 Reputacija 18 Ukupno objava
sam0864

sam0864

11.12.2016. 18:03:02
Are you serious?
Do I need the source code to use my AddThis code instead of yours?
Ovaj sadržaj još nije ocijenjen. 
656 Reputacija 79 Ukupno objava
mzilic

mzilic

12.12.2016. 11:30:44
Hello,

The default MonoX AddThis resources are embedded resources. To change them directly a source code edition of MonoX is required, however on a case by case basis these can be overridden in modules they are used in. For example in BlogPostView control this can easily be overridden by inheriting the MonoX BlogPostView control and overriding the ProviderClientSideCode property and returning your own AddThis custom code.

Regards
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava