Fórum
How to remove social feature "Add this..." on blog posts?
Bruno Galvao, modificado 12 Anos atrás.
How to remove social feature "Add this..." on blog posts?
Junior Member Postagens: 58 Data de Entrada: 26/08/11 Postagens Recentes
Is there a way to remove the "Add this...." on blogs?
Rojalin Patri, modificado 12 Anos atrás.
RE: How to remove social feature "Add this..." on blog posts?
Expert Postagens: 287 Data de Entrada: 22/03/11 Postagens Recentes
Hi Bruno,
"Add to this .." is a part of social bookmark.Comment out the following portion in tomcat-6.0.29/webapps/ROOT/html/portlet/blogs/view_entry_content.jsp file.
<!-- <c:if test="<%= pageDisplayStyle.equals(RSSUtil.DISPLAY_STYLE_FULL_CONTENT) %>">
<liferay-ui:social-bookmarks
url="<%= bookmarkURL.toString() %>"
title="<%= entry.getTitle() %>"
target="_blank"
/>-->
This would remove/hide the link from front-end.
For any customization in jsp,creating and using hooks is advisable.
Hope this helps......
"Add to this .." is a part of social bookmark.Comment out the following portion in tomcat-6.0.29/webapps/ROOT/html/portlet/blogs/view_entry_content.jsp file.
<!-- <c:if test="<%= pageDisplayStyle.equals(RSSUtil.DISPLAY_STYLE_FULL_CONTENT) %>">
<liferay-ui:social-bookmarks
url="<%= bookmarkURL.toString() %>"
title="<%= entry.getTitle() %>"
target="_blank"
/>-->
This would remove/hide the link from front-end.
For any customization in jsp,creating and using hooks is advisable.
Hope this helps......
Dominik domih, modificado 12 Anos atrás.
RE: How to remove social feature "Add this..." on blog posts?
Junior Member Postagens: 57 Data de Entrada: 10/11/08 Postagens Recentes
If you have no problem that your blog submits and loads data from the social websites you could remove it by using the portlets look and feel -> advanced styling and add a css rule like this:
otherwise the hint from above or setting the social bookmarks property to blank should work too.
portletName .taglib-social-bookmarks {
display: none;
}
otherwise the hint from above or setting the social bookmarks property to blank should work too.
Xav NYC, modificado 11 Anos atrás.
RE: How to remove social feature "Add this..." on blog posts?
New Member Postagens: 23 Data de Entrada: 27/09/12 Postagens Recentes
Hi,
You can remove the social bookmarks in your entire portal by configuring an empty list in
portal-ext.properties as follows:
social.bookmark.types=
It will disable social bookmarks in your entire portal.
X.
You can remove the social bookmarks in your entire portal by configuring an empty list in
portal-ext.properties as follows:
social.bookmark.types=
It will disable social bookmarks in your entire portal.
X.