Message Boards

Message board & categories (taxonomy)

thumbnail
Stian Sigvartsen, modified 12 Years ago.

Message board & categories (taxonomy)

Regular Member Posts: 103 Join Date: 8/27/10 Recent Posts
Does anyone know if it's possible to associate a category (taxonomy, not message board category) for a message board thread?
It seems that this is standard functionality for other types of assets, but some reason, when posting any kind of message board asset, you can only associate tags and not categories. This despite the following documentation stating both are supported. http://www.liferay.com/community/wiki/-/wiki/Main/Tags+and+Categories

If this is not possible to do this, is anyone aware if there is a way to link tags to categories? i.e. if you tag an asset with tag A, and there is a rule saying tag A = category B, then if you used Category navigation and clicked on the category B, then assets with tag A should be shown. I remember reading somewhere that this is possible, but I cannot find any web resources talking about this anymore.

Liferay 6.0.6 CE.

-Stian
thumbnail
Devang Patel, modified 8 Years ago.

RE: Message board & categories (taxonomy)

Regular Member Posts: 247 Join Date: 1/19/15 Recent Posts
Hi Stian Sigvartsen,
Does anyone know if it's possible to associate a category (taxonomy, not message board category) for a message board thread?

Yes. It is possible to associate asset categories for a message board thread...
Just create one jsp hook for edit_message.jsp & and use asset categories while posting new thread.
So you can also post thread in multiple categories using this asset Categories.
<aui:input name="categories" type="assetCategories" wrapperCssClass="mbassetCategory" />

I already did it.

Regards,
Devang Patel
thumbnail
David H Nebinger, modified 8 Years ago.

RE: Message board & categories (taxonomy)

Liferay Legend Posts: 14919 Join Date: 9/2/06 Recent Posts
Robert Chen:
I answer this question just for future developers who may have the same query.


Eh, wrong. This is not a category as far as taxonomy is concerned, this is the message board category which the OP explicitly called out as one he was not interested in.

The correct answer is that while there may not be an interface for setting category, each thread is an asset and therefore supports taxonomy assignment using both categories and tags. If there is no interface in the version you're doing, it may be a simple case of creating a JSP hook to add the category selector tag just as the support is already there for the tags.
Klaus Bachmaier, modified 7 Years ago.

RE: Message board & categories (taxonomy)

Regular Member Posts: 223 Join Date: 9/30/13 Recent Posts
Stian Sigvartsen:
... you can only associate tags and not categories.


Really? In 6.2 I haven't even found a way to just tag the postings. Would be nice if this would have been possible in 6.2, but I guess a JSP Hook will do the trick, right?