组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Bruno Galvao
How to remove social feature "Add this..." on blog posts?
2011年9月30日 下午12:41
答复

Bruno Galvao

等级: Junior Member

帖子: 58

加入日期: 2011年8月26日

最近的帖子

Is there a way to remove the "Add this...." on blogs?
Rojalin Patri
RE: How to remove social feature "Add this..." on blog posts?
2011年10月3日 上午4:55
答复

Rojalin Patri

等级: Expert

帖子: 287

加入日期: 2011年3月22日

最近的帖子

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......
Dominik Hofbauer
RE: How to remove social feature "Add this..." on blog posts?
2011年10月3日 上午5:18
答复

Dominik Hofbauer

等级: Junior Member

帖子: 57

加入日期: 2008年11月10日

最近的帖子

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:
1portletName .taglib-social-bookmarks {
2     display: none;
3}

otherwise the hint from above or setting the social bookmarks property to blank should work too.
Xav NYC
RE: How to remove social feature "Add this..." on blog posts?
2013年3月24日 下午1:17
答复

Xav NYC

等级: New Member

帖子: 23

加入日期: 2012年9月27日

最近的帖子

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.