Home > CMS Tutorial > PHPCMS > body text

How to modify id in phpcms?

coldplay.xixi
Release: 2020-06-10 11:38:50
Original
2816 people have browsed it

How to modify id in phpcms?

How to modify the id in phpcms?

How to modify id in phpcms:

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

2. Pictured:

How to modify id in phpcms?

3. The area marked with a red circle in the picture above is this area on the template:

How to modify id in phpcms?

4. Then we will create a column in the background called website announcement.

After filling in the basic options column, click Generate HTML settings, and select Yes for generating HTML for columns and generating HTML for content pages.

How to modify id in phpcms?

How to modify id in phpcms?

How to modify id in phpcms?

##5. This time we can see a website announcement in the column management column, its corresponding catid is 9. This 9 is the calling data we need in the template.

How to modify id in phpcms?

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

and then save it. Just click ctrl s and hold down the ctrl and s buttons at the same time.

How to modify id in phpcms?

7. Let’s go to the backend to add an article and add it to the website announcement column

How to modify id in phpcms?

8. I added it 3 articles: Website Announcement 1 Website Announcement 2 Website Announcement 3

How to modify id in phpcms?

9. Let’s generate the homepage and take a look at the renderings:

How to modify id in phpcms?

Recommended tutorial: "

phpcms"

The above is the detailed content of How to modify id in phpcms?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
id
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!