Home  >  Article  >  CMS Tutorial  >  Where are the PHPCMS layout files?

Where are the PHPCMS layout files?

Guanhui
GuanhuiOriginal
2020-06-19 10:26:062261browse

Where are the PHPCMS layout files?

Where are the PHPCMS layout files?

PHPCMS layout file is in the "phpcms/templates/default/" directory in the root directory of the website. Its main content template is in "content" in this directory. PHPCMS customized layout The directory of the file, just change the "default" in the directory to a custom name.

PHPCMS program directory structure structure

|-----api interface file directory

|-----caches cache file directory

|-----configs System configuration file directory

|-----database.php Database configuration file

|-----route.php Routing Configuration file

|-----system.php System configuration file

|-----cache.php Cache configuration file

|----- configs_* System cache file directory

|-----configs_commons/caches_data Mainly used to store configuration information of background settings

|-----category_content.cache.php column and site The configuration file corresponding to the mapping

|-----category_content_1.cache.php Detailed configuration information of all columns under site 1

|-----category_item_1.cache.php article The amount of data corresponding to each column under the model

|-----category_item_2.cache.php Download the amount of data corresponding to each column under the model

|-----category_item_3. cache.php The amount of data corresponding to each column under the image model

                                                                              .php Three major model configuration cache files

|-----mood_program.cache.php Expression configuration cache file

|-----position.cache.php Recommended position configuration cache File

|-----poster_template_1.cache.php Advertising template configuration cache file

|-----sitelist.cache.php Site list configuration file, mainly caches all sites Basic configuration information

|-----type_content.cache.php Category configuration information under multiple sites

|-----type_content_1.cache.php Category under the current site Configuration information cache file

|-----urlrules.cache.php URL rule configuration information cache file

|-----urlrules_detail.cache.php URL rule detailed configuration information cache File

                                                                                                                           using   using       ’         ’     ’ ’ ’ s ’ ’ s ’ ’s ’ ’s ’ ’ s     - -       to |-----link.cache.php Friendly link cache file

|-----configs_model/caches_data

|-----content_form.class.php Generate form Class library cache file

|-----content_input.class.php Class library cache file that verifies form data when entering the database

|-----content_output.class .php Function that processes the data queried from the data table

|-----content_update.class.php Function that verifies the validity of the data to be updated

| -----model_field_1.cache.php Cache information of all model fields of the article model

|-----model_field_2.cache.php Download cache information of all model fields of the model

| -----model_field_3.cache.php Cache information of all model fields of the image model

|-----phpcms                   phpcms framework main directory

                                                                                               ’s ’ s ’ s           ’''''' ’'s ’ ’’ s ’ ‐     ‐ ‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​Package directory

                                                                                                                                                                                                                                       Framework main class library,‑       Main function library directory

                                           Generate class library file

|-----application.class.php Application class library file

|-----image.class.php Image processing class library file

                                                                        use   with use with attachment              use using ‐‐ ‐ ‐ ‐ ‐‐‐‐‑‑‐attachment. -----functions

                                                                                                                                  global.func.              Public function library file                                                                                                                                   .

#                                                                                                                                                                                                                  Framework database model directory                                                     .php Administrator model file

|-----attachment_model.class.php Attachment model file

|-----modules Framework module directory

|- ---admin -----classes Content module general class library

|-----fields Content module model field

|-----functions Content module general function library

                                                                                                                                                                                                                                                                                                        # Front desk template directory

| ----- Default default template style

| ---- Content Content Module Templates

| ------ category .html channel page template file

| ----- list.html list page template file

| ----- show.html content page template file

|-----config.php Template configuration file

|-----phpsso_server phpsso main directory

|-----statics Website material file directory

| ----- CSS CSS file

| ---- Images Images file

# | ----- js js file

| --------- --Ploadfile Upload the attachment

| ----- admin.php background entrance file

| ----- index.php front desk entrance file

# Recommended tutorials: "

PHP Tutorial

" "

PHPCMS

"

The above is the detailed content of Where are the PHPCMS layout files?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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