Home > Article > CMS Tutorial > How to read code in phpcms
How to view the code in phpcms: first enter the phpcms background; then find the "phpcms\templates\" folder; then enter the templates folder; and finally find the corresponding code file you need to view.
phpcms page code
phpcms template is located in the "..\phpcms\templates\" folder. Each folder in this directory is a set of templates
The css styles, js files, and images folders that come with the templates are located in the "..\statics\" folder under the root directory.
templates framework system template directory
Generally speaking, an ordinary website only needs to modify the template in the "content content model"
announce announcement
show .html content page
comment comment
show_list.html content page comment list
list.html comment list
content content model
category.html Article channel page
category_download.html Download channel page
category_picture.html Picture channel page
download.html Download link page
footer .html bottom
header.html top
header_min.html mini top
header_page.html single page header
index.html website homepage
list.html List page
list_download.html Download list page
list_picture.html Picture list page
message.html Message prompt page
page.html Single web page
rss.html RSS page
search.html Search
show.html Article content page
show_download.html Download content Page
show_picture.html Picture content page
tag.html tag
formguide Form guide
index.html Form list page template
show.html Form details page template
show_js.html Form js call template
link Friendly link
index.html
list_type.html Category page
register.html Application page
member Member Center
account_manage.html Member Management
account_manage_avatar.html Avatar Management
account_manage_info. html Member information management
account_manage_left.html Member information management left menu
account_manage_password.html Change password
account_manage_upgrade.html Member upgrade
change_credit.html Redeem points
connect_sina.html Sina account login
content_publish.html Submission page
content_publish_select_model.html Submission model selection
content_published.html Submission management
favorite_list.html Favorite list
footer.html Footer
forget_password.html Password retrieval page
header.html Header
index.html Home page
left.html Left menu
login.html Login page
mini.html Header login bar
protocol.html Registration agreement
register.html Registration page
message Short message
group.html System message
inbox.html Inbox
outbox.html Outbox
read.html Short message viewing
read_group.html System message viewing
read_only.html Already sent message
send .html Write a message
mood News mood
pay Payment
deposit.html Payment page template
pay_list.html Payment record page template
payment_cofirm.html Payment confirmation page template
spend_list.html Consumption record page template
poster Advertisement
banner.html Rectangular banner
couplet.html Couplet advertisement
fixure.html Fixed position
float.html Floating mobile
imagechange.html Image rotation advertisement
imagelist.html Image list advertisement,
text.html Text ad
search Search
footer.html Footer
header.html Header
index.html Home page
list.html List page
special topic
api_picture.html Group picture
comment.html Topic homepage comment page
header .html Topic header
index.html Topic homepage
list.html Category page
show.html Content page
special_list.html Topic list
vote Vote
index.html
list_new.html List page
show.html Display page
submit.html Voting page
vote_result.html Voting result page
vote_tp.html Individual display page
vote_tp_2.html News page voting template
vote_tp_3.html Home page voting template
wap Mobile Portal
big_image.html Display big image template
category.html Channel page template
comment_list.html Comment list template
footer.html Bottom template
header.html Header template
index.html Home page template
list.html List page template
maps.html Site Map template
min_footer.html Small bottom template
min_header.html Small header template
show.html Content display page template
Recommendation:《phpcms tutorial》
The above is the detailed content of How to read code in phpcms. For more information, please follow other related articles on the PHP Chinese website!