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}]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}]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,
发表评论