Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to modify the id of phpcms

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to modify the id of phpcms, the content of the article is of high quality, so Xiaobian shares it for everyone to make a reference, I hope you have a certain understanding of relevant knowledge after reading this article.

phpcms to modify id:

Here we open index.html with dreamweaver 8. The path is: (/phpcms/templates/default/content/index.html).

2. As shown in the figure:

3. The area circled in red in the image above is this area on the template:

4. Well, let's build a column in the background called website announcement.

Fill out the basic options column, click generate html settings, select yes for column generate html and content page generate html.

5. This time we can see a column called website announcement in the column management, which corresponds to catid 9. This 9 is the invocation data we need in the template.

6. We changed the call id of website announcement in index.html to 9. As shown in the figure:

And then save it. Just click Ctrl+S while holding down the Ctrl and S buttons.

7. We go backstage and add articles to the website announcement column

8. I added 3 articles: website announcement 1 website announcement 2 website announcement 3

9. Let's create a home page to see the following renderings:

About how to modify phpcms id to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report