Forums

Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
deane turner
How to add a new Journal article type category?
December 11, 2006 1:11 PM
Answer

deane turner

Rank: New Member

Posts: 2

Join Date: December 11, 2006

Recent Posts

Hello,

Have search quite a bit, and I can't find the mechanism to add an article type to the others - General, News, Press Release, and Test.

Any help would be greatly appreciated.
Alexander Chow
RE: How to add a new Journal article type category?
December 11, 2006 10:26 PM
Answer

Alexander Chow

Community Moderator

Rank: Liferay Master

Posts: 518

Join Date: July 19, 2005

Recent Posts

It is set in the portal.properties file under:

journal.article.types=announcements,blogs,general,news,press-release,test

So, in your portal-ext.properties, override journal.article.types and append your additional types.
Chad Shryock
RE: How to add a new Journal article type category?
December 12, 2006 5:28 AM
Answer

Chad Shryock

Rank: Expert

Posts: 285

Join Date: August 26, 2006

Recent Posts

Is there or has there been any talk of adding a way to add new types without the ext environemnt?
deane turner
RE: How to add a new Journal article type category?
December 13, 2006 5:57 AM
Answer

deane turner

Rank: New Member

Posts: 2

Join Date: December 11, 2006

Recent Posts

Great! Thanks for the reply Alexander. Skimmed that file, but looks like I need to study it much further.

http://content.liferay.com/document/portal.properties.html
Jorge Ferrer
RE: How to add a new Journal article type category?
December 12, 2006 11:31 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2768

Join Date: August 31, 2006

Recent Posts

Hi Chad,

We usually refer to the ext environment when mentioning portal-ext.properties, but it's not really necessary.

You can create that file yourself and put it in the classpath visible by the portal.
Michael Saechang
Thread Splitted
April 22, 2008 10:12 AM
Answer

Michael Saechang

LIFERAY STAFF

Rank: Liferay Master

Posts: 577

Join Date: November 19, 2007

Recent Posts

The new thread can be found at http://www.liferay.com/web/guest/community/forums/message_boards/message/705887.
Orin Fink
RE: How to add a new Journal article type category?
March 16, 2012 10:16 AM
Answer

Orin Fink

Rank: Junior Member

Posts: 43

Join Date: March 24, 2010

Recent Posts

I know this is an old post but thought i would mention that since the .properties file expects a key value, you may not be able to use friendly names in this list. In order to have a friendly name displayed in the dropdown menu from the User Interface, you will also have to add the language key and a friendly display string to a language hook. this also gives you the benefit of translating the string per language.

For example, in the portal-ext.properties, if you add journal.article.types=announcements,blogs,general,news,press-release,quarterly-newsletter

then in your language hook, you'll need to add
quarterly-newsletter=Quarterly Newsletter

and then your content editors may be a bit more happy with a friendly string in the content editor dropdown and the search form dropdown.