Legacy Knowledge Base
Published Jul. 2, 2025

Should the "Edit Template" option appear for Web Content on a Live Site?

Written By

Tony Ng

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When publishing to a live site, "Edit Template" can be selected from the options menu of a Web Content Display portlet.
  • Should “Edit Template” be disabled on the live site?

Environment

  • DXP 7.1
  • DXP 7.2
  • DXP 7.3
  • DXP 7.4

Resolution

  • The "Basic Web Content" template which is commonly used to create Web Content articles is provided by the Global Site. If this is the case, then the "Edit Template" option is expected to appear.
  • If you configure the Web Content to use a template on the same Site that you are staging, the "Edit Template" option will not appear because you cannot edit the Template on the Live Site. 

Additional Information

  • No one (even admin users) can edit staged portlets that are on the Live Site. However, portlets on a different, unstaged Site can be edited, even if they are being accessed via the Live Site. For example, the "Edit Template" option can appear for Web Content using the "Basic Web Content" template because it comes from the Global Site, which is often unstaged.
  • The Web Content Display portlet itself is not being edited when you select Edit Template. You are simply editing the "Basic Web Content" Template.
  • Here are some relevant articles:
Did this article resolve your issue ?

Legacy Knowledge Base