How to overwrite default social bookmarks in liferayHow to overwrite default social bookmarks in liferayhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1148961992024-03-29T10:48:25Z2024-03-29T10:48:25ZRE: How to overwrite default social bookmarks in liferayMinhchau Danghttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1148969852019-08-28T17:13:08Z2019-08-28T17:13:08Z<html><head></head><body><strong>Where and how can i change it?</strong><br><br>In 6.x and 7.0.x, you can deploy additional hooks that provide social bookmarks, because social.bookmark.types can be updated using liferay-hook-*.dtd. In those versions of Liferay, you will need to update portal-ext.properties, and you'll need to update any plugins that have a liferay-hook.xml specifying a portal properties override and make sure to comment out any references to social.bookmark.types.<br><br>In 7.1.x and later, you would use the <a href="https://portal.liferay.dev/docs/7-0/user/-/knowledge_base/u/blacklisting-osgi-modules">OSGi components blacklist</a> in order to blacklist any components providing the com.liferay.social.bookmarks.SocialBookmark service that you don't want to use in your installation. Often, they will be the only thing in the bundle, so you could also try blacklisting the bundle.<br><br>You can get all the class names for the SocialBookmark components with the following GoGo shell command:<br><br><pre><code>each [($.context servicereferences "com.liferay.social.bookmarks.SocialBookmark" null)] { ($.context service $it) class }</code></pre><br><br>You can get all the bundle names for the SocialBookmark components with the following GoGo shell command:<br><br><pre><code>each [($.context servicereferences "com.liferay.social.bookmarks.SocialBookmark" null)] { ($it bundle) symbolicname }</code></pre></body></html>Minhchau Dang2019-08-28T17:13:08ZHow to overwrite default social bookmarks in liferayDaniel Kęskahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1148961982019-08-28T12:01:57Z2019-08-28T12:01:57Z<html><head></head><body>In my liferay structure i have default social bookmarks with many options to share: facebook, twitter, delicious etc. But I want to have only facebook and twitter. I do not have liferay app to manage plugins. I tried to put:<pre><code>[code]social.bookmark.types=facebook, twitter
</code></pre>in my portal-ext.properties (with restart) but it d