Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-2375

Added ability to use custom tokens in web content articles

    Details

      Description

      A new property has been added to portal(-ext).properties which allows custom tokens to be used in web content articles (or journal articles in 5.1 EE)

      #

      1. Set a list of custom tokens that will be replaced when article content is
      2. rendered. For example, if set to "custom_token_1", then "@[email protected]"
      3. will be replaced with its token value before an article is displayed.
        #
        #journal.article.custom.tokens=custom_token_1,custom_token_2
        #journal.article.custom.token.value[custom_token_1]=This is the first custom token.
        #journal.article.custom.token.value[custom_token_2]=This is the second custom token.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              amos.fong Amos Fong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.1 EE SP6 (5.1.9)
                  5.2 EE SP4 (5.2.8)