Sun GlassFish Web Space Server 10.0 Administration Guide

Journal Portlet

Journal Portlet is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.

Set this to true if articleIDs should always be autogenerated.


journal.article.force.autogenerate.id=true

Set this to true so that only the latest version of an article that is also not approved can be saved without incrementing version.


journal.article.force.increment.version=false

Set the list of article types. The display text of each of the article types is set in content/Language.properties.


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

Set the token used when inserting simple page breaks in articles.


journal.article.token.page.break=@page_break@

Set the interval on which the CheckArticleJob will run. The value is set in one minute increments.


journal.article.check.interval=15

Set this to true if feedIDs should always be autogenerated.


journal.feed.force.autogenerate.id=false

Set this to true if structureIDs should always be autogenerated.


journal.structure.force.autogenerate.id=false

Set this to true if templateIDs should always be autogenerated.


journal.template.force.autogenerate.id=false

Input a comma-delimited list of variables which are restricted from the context in Velocity based Journal templates.


journal.template.velocity.restricted.variables=serviceLocator

Set the maximum file size and valid file extensions for images. A value of 0 for the maximum file size can be used to indicate unlimited file size. However, the maximum file size allowed is set in the property com.liferay.portal.upload.UploadServletRequestImpl.max.size.


journal.image.small.max.size=51200

A file extension of * will permit all file extensions.


journal.image.extensions=.gif,.jpeg,.jpg,.png

Input a list of comma-delimited class names that extend com.liferay.portlet.journal. util.TransformerListener. These classes will run in sequence to allow you to modify the XML and XSL before it's transformed and allow you to modify the final output.


journal.transformer.listener=\
com.liferay.portlet.journal.util.TokensTransformerListener,\
#com.liferay.portlet.journal.util.PropertiesTransformerListener,\
com.liferay.portlet.journal.util.ContentTransformerListener,\
com.liferay.portlet.journal.util.LocaleTransformerListener,\
com.liferay.portlet.journal.util.RegexTransformerListener,\
com.liferay.portlet.journal.util.ViewCounterTransformerListener

Provide a list of regular expression patterns and replacements that will be applied to outputted Journal content. The list of properties must end with a subsequent integer (0, 1, and so on) and it is assumed that the list has reached an end when the pattern or replacement is not set. See com.liferay.portlet.journal.util.RegexTransformerListener for implementation details.


#journal.transformer.regex.pattern.0=beta.sample.com
#journal.transformer.regex.replacement.0=production.sample.com
#journal.transformer.regex.pattern.1=staging.sample.com
#journal.transformer.regex.replacement.1=production.sample.com

Set whether to synchronize content searches when server starts.


journal.sync.content.search.on.startup=false

Configure mail notification settings.


journal.email.from.name=Joe Bloggs
journal.email.from.address=test@liferay.com
journal.email.article.approval.denied.enabled=false
journal.email.article.approval.denied.subject=com/liferay/portlet/journal/de
pendencies/email_article_approval_denied_subject.tmpl
journal.email.article.approval.denied.body=com/liferay/portlet/journal/dependencies/
email_article_approval_denied_body.tmpl
journal.email.article.approval.granted.enabled=false
journal.email.article.approval.granted.subject=com/liferay/portlet/journal/d
ependencies/email_article_approval_granted_subject.tmpl
journal.email.article.approval.granted.body=com/liferay/portlet/journal/dependencies/
email_article_approval_granted_body.tmpl
journal.email.article.approval.requested.enabled=false
journal.email.article.approval.requested.subject=com/liferay/portlet/journal
/dependencies/email_article_approval_requested_subject.tmpl
journal.email.article.approval.requested.body=com/liferay/portlet/journal/de
pendencies/email_article_approval_requested_body.tmpl
journal.email.article.review.enabled=false
journal.email.article.review.subject=com/liferay/portlet/journal/dependencies/
email_article_review_subject.tmpl
journal.email.article.review.body=com/liferay/portlet/journal/dependencies/e
mail_article_review_body.tmpl

Specify the strategy used when Journal content is imported using the LAR system.


journal.lar.creation.strategy=com.liferay.portlet.journal.lar.JournalCreationStrategyImpl

Specify the path to the template used for providing error messages on Journal templates.


journal.error.template.velocity=com/liferay/portlet/journal/dependencies/error.
vm
journal.error.template.xsl=com/liferay/portlet/journal/dependencies/error.
xsl