Can the creation time or update time of a single page be retrieved and displayed?

Calendar 👁️ 59

In the operation practice of AnQi CMS, we often pay attention to the time information of website content management and display.This is crucial for search engine optimization (SEO) and users' understanding of content timeliness.Whether the creation time or update time of a single page (Page) can be obtained and displayed, a detailed analysis based on the documents provided by Anqi CMS can lead to a clear conclusion.

The 'Page Management' feature of AnQi CMS, which is mainly used to create and manage independent static content pages, such as 'About Us', 'Contact Information', etc.In the background, we can add and edit a single-page interface, where we can set page name, SEO title, keywords, custom URL, single-page introduction, display order, single-page template, Banner image, thumbnail, and various properties of the single-page content.However, the document provided here does not mention any settings or display options for timestamp fields such as the creation time or update time of a single page.

Further explore the support at the template level, Anqi CMS providespageDetailTags used to retrieve and display detailed information of a single page in the front-end template. By consultingtag-/anqiapi-category/153.htmlin the documentnameThe parameter available field list, we found that this tag can call the single page ID, title, link, description, content, thumbnail large image, thumbnail, and slide group image, etc. However, with the document (Archive) detail tagarchiveDetailListed explicitlyCreatedTimeAnd the document addition timeUpdatedTimeIs different from the document update timepageDetailThe available fields of the label do not contain any attributes related to creation or update time. This means that even if a single page may store this time information at the database level, it is not provided through the officialpageDetailTemplate tags, we cannot directly retrieve and display them.

Compared to other CMS, Anqi CMS provides more comprehensive time management capabilities for document type content (such as articles, products).In the instructions for "Add DocumentarchiveDetailTags also explicitly supportCreatedTimeandUpdatedTimeretrieving fields, and can be accessed throughstampToDateLabel flexible time formatting display, for example, displayed as “2023-10-27 10:30:00” or “October 27, 2023”.This difference indicates that AnQi CMS distinguishes between document and single-page content attributes, for single pages, the design focuses on displaying relatively static and infrequently changing information, therefore, by default, the creation or update time is not exposed as a core display attribute to the template layer.

In summary, according to the document content provided by AnQi CMS, the creation time or update time of a single page cannot currently be managed through the standard backend interface or front-end template tagspageDetailDirectly obtain and display. This design may take into account the characteristics of the content attributes of a single page, but for users who have such needs, this is indeed a limitation worth noting.


Frequently Asked Questions (FAQ)

  • 1. How to display the creation or update time of ordinary documents (articles, products) in AnQi CMS?For ordinary documents (Archives), you can usearchiveDetailtags to retrieveCreatedTime(creation time) andUpdatedTime(Update time). These two fields return timestamps, you need to combinestampToDatetags to format the output, for example{{stampToDate(archive.CreatedTime, "2006-01-02 15:04:05")}}to display the specific date and time.

  • 2. Can a single page be set to publish at scheduled times like a document?According to the provided document, the 'Time Factor - Scheduled Publishing Function' is mentioned as one of the core features and is applied to the automation of 'Content Publishing'. However, the specific document (help-content-archive.mdThis function explains the setting of the "publish time" for "documents". For "single-page", the document does not mention similar scheduling or time management functions.

  • 3. What are some recommended ways to create or update time for a single-page display if I really need it?Due to the official template tagpageDetailThese fields are not directly provided, and the document does not mention support for custom fields on a single page, you may need to refer to the page content (ContentManually add this information, or simulate it through other non-standard methods in the template (for example, if the content contains date text, parse and display it through JavaScript or template filters).Please note that these methods may not be able to achieve automatic updates and do not belong to the native supported scope of AnQi CMS.

Related articles

How to correctly call the `Link` single page link in the template?

As an experienced security CMS website operator, I know that correctly calling content links in templates is crucial for website user experience and search engine optimization.The single page is a key part that carries static information such as 'About Us' and 'Contact Information', and the accurate calling of its links is an indispensable part of daily operation. I will elaborate in detail on how to correctly call single-page links in the Anqi CMS template.### Understanding Single Page Links in AnQi CMS In AnQi CMS, a single page (also known as a "page") exists independently of content models such as articles, products, and the like.

2025-11-06

How to obtain the SEO title and description of a single page through template tags?

As an experienced security CMS website operator, I am well aware of the key role that each page plays in search engine optimization, especially the SEO title and description.They are not only the first line of defense to attract users to click, but also an important signal to convey the core content of the page to search engines.AnQi CMS is well-versed in this, providing us with powerful and flexible template tags, allowing us to precisely control the SEO elements of each single page.

2025-11-06

How to use the lazy loading feature of images in single page content?

As an experienced AnQiCMS website operator, I know the importance of website performance for user experience and SEO.Lazy loading of images is an essential optimization method to improve website loading speed, especially on single-page content that contains a large number of images.AnQiCMS provides good support for lazy loading of images at the content rendering level, allowing us to implement this feature through simple template configuration combined with front-end technology. I will elaborate in detail on how to implement lazy loading of images in the single-page content of AnQiCMS.

2025-11-06

How to determine if a single page exists in the template and display its content?

As an experienced security CMS website operator, I know that it is crucial to flexibly control the display of content in template development, especially for single-page content such as "About Us" and "Contact Us" that may require dynamic judgment and display.In actual operation, we often need to decide whether to render a block or link based on the existence of the page to ensure the accuracy of the website content and the user experience.Below, I will elaborate on how to determine if a single page exists in the Anqi CMS template and display its content.###

2025-11-06

How to call single page data from other sites in a multi-site environment?

As an experienced CMS website operation person, I am well aware of the core position of content in website operation.How to efficiently and flexibly call and manage content in a multi-site environment, especially for single-page data, is a real challenge for many operators.AnQi CMS relies on its powerful multi-site management capabilities to provide us with an elegant solution. ### Content Sharing Strategy in the Multi-site Environment of Anqi CMS From the outset, Anqi CMS has taken into account the needs of enterprises and content operation teams for multi-site management.

2025-11-06

How to configure a canonical URL for a single page to optimize SEO?

As a website operator who has been deeply involved in AnQiCMS for many years, I am well aware of the profound impact that every detail has on SEO optimization in content creation and publication.The canonical URL is one of the often overlooked elements that are crucial for search engine rankings and website health.It can effectively solve the problem of duplicate content, concentrate the page weight, and is an effective tool to improve SEO performance.I will elaborate in detail on how to configure standard links for single pages in AnQiCMS

2025-11-06

How to set up pseudo-static rules for a single-page to optimize URL structure?

As an operator who deeply understands the operation of AnQiCMS, I know that a clear and semantical URL structure is crucial for the website's search engine optimization (SEO) and user experience.Strong static function provided by Anqi CMS, allowing website administrators to flexibly define the URL form of the website.Today, we will delve into how to set up pseudo-static rules for a single-page application to build more attractive and readable URLs.

2025-11-06

What impact does customizing the static rule have on the single page URL?

As an experienced website operator familiar with the characteristics of AnQiCMS, I am well aware of the importance of URL structure to the performance of the website.The custom static rules feature is a powerful function provided by AnQiCMS, which allows us to flexibly define the URL form of website content.For a single-page website, the application of this feature is particularly direct and has a profound impact.**AnQiCMS Base URL and Custom Settings** In AnQiCMS, a single page usually carries independent and static content such as "About Us", "Contact Us", "Privacy Policy", etc.

2025-11-06