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!