Imperial CMS usage tutorial: Imperial CMS calling custom page method techniques

888u

Last update at :2024-03-17,Edit by888u

When we use Imperial CMS to build a website, we will make single pages for corporate websites (such as "Company Introduction", "Contact Us" and other pages). Generally, we use custom pages to do this, and you can use custom page navigation to call out Tag SQL call. As follows:

Example 1: Call the page navigation with custom page category ID=1

[e:loop={'select id,path,title from [!db.pre!]enewspage where classid=1 order by id',20,24,0}]
  • [/e:loop]

    Example 2: Call custom page navigation and identify the current custom page

    [e:loop={'select id,path,title from [!db.pre!]enewspage where classid=1 order by id',20,24,0}]
  • [/e:loop]

    Related instructions:

    The above example is to call a custom page with category ID=1. There is no restriction and you can remove the "where classid=1" condition in SQL.

    Recommended site searches: US server rental, US ASP space, independent IP space, space rental, mainland China domain name registration, domain name registration information query, Hong Kong high-defense server, mainland China virtual host, website registration domain name query, vps server rental,

    Imperial CMS usage tutorial: Imperial CMS calling custom page method techniques

    All copyrights belong to 888u unless special state
    取消
    微信二维码
    微信二维码
    支付宝二维码