How to modify the image upload function on the custom page of the Empire CMS

Source: Internet
Author: User
How to modify the image upload function of the custom page of the Empire CMS adds a field to the custom page input page. The most important feature is the image upload function:
& Infoid = & Filepass = & Sinfo = 1 & doing = 1 & field = titlepic ', '', 'Width = 700, height = 550, scrollbars = yes');" title = "select uploaded image">

The complete code is as follows:
Custom image      & Infoid =
 & Filepass =
 & Sinfo = 1 & doing = 1 & field = titlepic
 ', '', 'Width = 700, height = 550, scrollbars = yes');" title = "select uploaded image">

However, after the above is added, the 404 page appears when you click it. it is correct to find that there is an additional template, and some parameters accepted in the address bar are incorrect. I don't know how to change it.


Reply to discussion (solution)

Window. open ('ecmseditor /.....
Start with a letter and start with a relative path, that is, after the url of your current page
Change to the absolute path.

Window. open ('ecmseditor /.....
Start with a letter and start with a relative path, that is, after the url of your current page
Change to the absolute path.


Let's go. I really want to scold you! Anyone with a little programming skills knows that this is the path decided by the program. you will not be ashamed. The shame is that you will not be able to install it again!

I don't know how to modify the following file.

 
 
 Select FileScript function ChangeShowMod (obj) {var furl, searchstr, dotype; searchstr ="
 "; Dotype = obj. type. value; if (obj. showmod. value = 1) {furl =" filep. php? "+ Searchstr +" & type = "+ dotype;} else {furl =" file. php? "+ Searchstr +" & type = "+ dotype;} elfile. location = furl;} script
 
 

Path problem, available absolute path or
Window. open ('ecmseditor
Change
Window. open (../'ecmseditor

Path problem, available absolute path or
Window. open ('ecmseditor
Change
Window. open (../'ecmseditor


I will not post the post if it is so simple.

You changed window. open ('../ecmseditor to at least 404, right?
You may not be able to upload images.

& Sinfo = 1 & modtype = 7', '', 'width = 700, height = 550, scrollbars = yes');" title = "select uploaded image">

You changed window. open ('../ecmseditor to at least 404, right?
You may not be able to upload images.

& Sinfo = 1 & modtype = 7', '', 'width = 700, height = 550, scrollbars = yes');" title = "select uploaded image">


You mean, as long as it's not 404, it's my problem.

You changed window. open ('../ecmseditor to at least 404, right?
You may not be able to upload images.

& Sinfo = 1 & modtype = 7', '', 'width = 700, height = 550, scrollbars = yes');" title = "select uploaded image">



Well, after the experiment, correct, plus points, as long as it is right, I will add, who will bother those who are stupid and pretending to make the truth!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.