View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Use of the upload files function - ProjeQtOr
 
 

Use of the upload files function

More
18 Jan 2013 09:35 #1 by imenkolsi
Hi again , well in your PorjectorDialog.js u have this function addDocumentVersion

i'd like to do some upload on my own can use this function

I have an input type file in my class.php and i'd like to do the upload by js

<INPUT type=hidden name=MAX_FILE_SIZE VALUE=2048>
<INPUT type=file name="nom_du_fichier">

<button id="sendInfoToUser" showlabel="true" onclick="javascript:getVal()">Send information</button>

the function getVal() get all the field of the form everything work fine just left the upload of the file

So can you help me how to do upload using your function addDocumentVersion

Thanks in advance
The following user(s) said Thank You: yassine

Please Log in or Create an account to join the conversation.

More
18 Jan 2013 11:41 #2 by babynus
Dupplicate addDocumentVersion with new name.
Get php url called by this fonction.
Copy as new php file and update to your need.
Call this php file in the new function.

NB : send info to user is an existing function in V3

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.031 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.