GNU v3 XHTML 1.0
ie6 ie firefox opera safari chrome

Switch to HtmlView to see AutoPromptMultiFileUpload in action.

What just happened and why? Read on..

If you are working against files that are located on your file system, while editing documents in the HTML Editor, it might be convenient to keep those references still pointing to the local file system. It is indeed quite a bother to have to first upload all that content online somewhere before you can reference it via your hyperlinks href attribute and image elements src attribute.

Also this is quite common when pasting documents from ms word where you have links to a images/files on the filesystem, which looks like it's going to work (but apparently working only for you).

Now, new in Jiffycms is an AutoPrompt MultiFile Upload feature builtin. When this property is true, the default : AutoPromptMultiFileUpload="true" ; the html editor will detect automatically such links and present to you a multi-file upload dialog allowing you to upload every locally referenced resource intelligently. Once the upload is done, it will also update all the references to the new url. Perfect.

To see this in action, we prepared the demo above, containing 3 links in the download section (default content provided in the editor above), all point to links on the file system. :



<ul class="navbar">
<li><a href="http://www.jiffycms.net">Downloads</a></li>
<li><a href="file:///C|/My Documents/justadocument.pdf">My document - Download#1</a></li>
<li><a href="file:///C|/My Pictures/justimages.zip">My pictures - Download#2</a></li>
<li><a href="file:///C|/My Games/pacman-thegame.rar">Pacman - Download#3</a></li>
</ul>
<p>
Actually there is one img element in this document, but it's referencing an image
on the local file system :| oops
<img src="file:///C|/My Pictures/me.jpg" alt="This is me" />
</p>

Now switching to HtmlView and vice versa will trigger this mechanism.

Please note that we do not allow uploads on our server, so do not expect to find the file you uploaded show up.


Show/Hide code Toggle (declarative syntax and remarks);