Bambarbia Kirkudu

Independent Consultant (Toronto, Canada) specializing in Lucene, Hadoop, HBase, Nutch, SOLR, LingPipe, GATE, Data Mining, Search Engines, WebLogic, Oracle, Liferay Portal, Java, J2EE, SOA, and more. Master in MATH, Moscow State University n.a.Lomonosov

Friday, July 4, 2008


Liferay Portal, Enterprise SOA

The problem:
"Ok, I realize that anonymous blog comments are not currently available (as of v4.3.5). I'm just wondering when EXACTLY blog comments will be available (Are they currently being developed? Are the changes in the trunk and I can check it out from SVN and build from source right now? Are the changes scheduled to be done soon?) Any information would be helpful.
I'm asking because I've added the ability to do guest comments in the blogs in my own customized liferay instance. However, I had to modify the core liferay source to do it (couldn't do it with just the extension environment). So, now I'm stuck using 4.3.1 because I absolutely cannot upgrade my liferay instance without this functionality and It's been so long since I made the modifications that I'm not sure I could duplicate them. Nor do I desire to duplicate the same work over again."

Just a teaser :)

Have you tried to manage /resource-actions/blogs.xml in Liferay version 5.0.1 RC1?



You may also need to remove themeDisplay.isSignedIn() checks from /html/taglib/ui/discussion

There is also bug in ext-impl/build-parent.xml, something is missed:

Liferay 5.0.1 RC1 EXT:

1. Modify /html/taglib/ui/discussion/page.jsp, remove some code
[c:if test="<%= themeDisplay.isSignedIn() && MBDiscussionPermission.contains(permissionChecker, portletGroupId.longValue(), className, classPK, ActionKeys.ADD_DISCUSSION) %>"]
at least remove themeDisplay.isSignedIn(); it may affect all portlets using this tag - you can create your own tag indeed...

2. Look at Liferay 4.4, Portlet Development, Chapter 5, modify blogs.xml &; see also Wiki - Portlet Permissions

3. Verify MBMessageServiceImpl; you need to allow addDiscussionMessage():
use getGuestOrUserId() instead of getUserId()

View Fuad Efendi's LinkedIn profileView Fuad Efendi's profile

Labels: , , ,

Hi Bambarbia,

thanks for your contribution here - also in the liferay forums.

If somebody wants to have a look on the topic "liferay portal for the internet" you might want to check out my blog on liferay as well:

Portlets for liferay portal with java jsf: Content, Navigation, Layout - and first Theme experience

Post a Comment

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link

<< Home


May 2007   June 2007   July 2007   August 2007   October 2007   April 2008   June 2008   July 2008   August 2008   January 2009  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]