Site Management->Modify"; then add the types you need in the "Allow upload attachment types" in the attachment configuration; then open "Add Model" and add the corresponding model ;Finally, select "Multiple File Upload" in "Field Type" and add "mp3|wma"."/> Site Management->Modify"; then add the types you need in the "Allow upload attachment types" in the attachment configuration; then open "Add Model" and add the corresponding model ;Finally, select "Multiple File Upload" in "Field Type" and add "mp3|wma".">

Home >CMS Tutorial >PHPCMS >How to upload song files in phpcms

How to upload song files in phpcms

藏色散人
藏色散人Original
2020-07-13 11:07:402332browse

How to upload song files in phpcms: First open "Settings->Site Management->Modify"; then add the type you need in the "Allow upload attachment type" in the attachment configuration; then open " Add Model" to add the corresponding model; finally select "Multiple File Upload" in "Field Type" and add "mp3|wma".

How to upload song files in phpcms

##phpcms Upload mp3 song file

First enter the background, open Settings->Site Management->Modify

How to upload song files in phpcms

In the attachment configuration, add the type you need in "Allow upload attachment type" (I added mp3 and wma here) and click OK after adding it.

How to upload song files in phpcms##Next, open Content->Model Management->Add Model, add the corresponding model, and click OK.

How to upload song files in phpcmsThen, open Content->Model Management

How to upload song files in phpcmsClick Add Field and select in "Field Type" "Multiple file upload", add the required file types in "File types allowed to be uploaded" in "Related Parameters". (What I added here is mp3|wma). Add other parts according to your own needs. If you are really unclear, use the system default settings.

How to upload song files in phpcmsFinally, click OK. In the column management, select the model you just added for the desired column, and then you can add songs on the content page.

Recommended: "

PHPcms Tutorial

"

The above is the detailed content of How to upload song files in phpcms. 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