User Tools

Site Tools


tools:online:uloadify

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tools:online:uloadify [2013/04/02 07:22] – created skipidartools:online:uloadify [2023/11/01 07:13] (current) – ↷ Page moved from business_process_management:camunda:tools:online:uloadify to tools:online:uloadify skipidar
Line 1: Line 1:
 +===== Uploadify =====
 +
 +{{http://www.uploadify.com/|uploadify}}
 +
 +===IMPORTANT===
 +To allow uploadify uploading files to server the the permissions on uploadify.php to 777.
 +<code>
 +chmod 777 uploadify.php
 +</code>
 +
 +
 +=== Embedding ===
 +Embedding uploadify into the head could look like that:
 +<code>
 + <link href="bibtexbrowser.css" type="text/css" rel="stylesheet" />
 + <link href="uploadify.css" type="text/css" rel="stylesheet" />
 + <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
 + <script type="text/javascript" src="swfobject.js"></script>
 + <script type="text/javascript" src="jquery.uploadify.v2.1.4.min.js"></script>
 + <script type="text/javascript">
 + function createUploader(){
 +   $("#file_upload").uploadify({
 +     "uploader"  : "/typo3conf/ext/bibtexbrowser/mod1/uploadify/uploadify.swf",
 +     "script"    : "/typo3conf/ext/bibtexbrowser/mod1/uploadify/uploadify.php",
 +     "cancelImg" : "/typo3conf/ext/bibtexbrowser/mod1/uploadify/cancel.png",
 +     "folder"    : "/root/relative/upload/path/to/dir/",
 +     "fileExt"   : "*.bib;",
 +     "fileDesc"  : "Bibtex biles with .bib extension",
 +     "buttonText": "Upload a bib file",
 +     "auto"      : true
 +   });
 + }
 + window.onload = createUploader; 
 + </script>
 +</code>
 +
 +And the html code could look like that
 +<code>
 +<input id="file_upload" name="file_upload" type="file" />
 +</code>