Home > Article > CMS Tutorial > 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:
3. The area marked with a red circle in the picture above is this area on the template:
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.
##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. 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. 7. Let’s go to the backend to add an article and add it to the website announcement column 8. I added it 3 articles: Website Announcement 1 Website Announcement 2 Website Announcement 3 9. Let’s generate the homepage and take a look at the renderings: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!