Question to List of Downloadlinks in editors

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
manu
Posts: 1090
Joined: Wed Jun 04, 2008 12:05 pm
Location: St. Gallen - Schweiz
Contact:

Question to List of Downloadlinks in editors

Post by manu » Wed Nov 12, 2014 8:28 am

Surprisingly in all common editors there are different ways to insert a download link via the linklist or the internal filebrowser.

- Downloadlink via filebrowser generates a link like: "./userfiles/downloads/mypdf.pdf"
- Downloadlink via link list generates a link like: "./?download=mypdf.pdf" (editor/links.php)

Bug or feature? As a feature, should it be documented somewhere? What are the benefits of one against the other?

regards manu

svasti
Posts: 1659
Joined: Wed Dec 17, 2008 5:08 pm

Re: Question to List of Downloadlinks in editors

Post by svasti » Wed Nov 12, 2014 9:24 am

Feature:
The 1st leads directly to the file
(and in your example will open the pdf in the browser),
while the 2nd activates the download dialog of the browser
(in your example will either ask where to save the pdf or save the pdf in the downloads folder).

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Question to List of Downloadlinks in editors

Post by cmb » Wed Nov 12, 2014 1:29 pm

manu wrote:As a feature, should it be documented somewhere?
Yes. Our TinyMCE documentation in the Wiki could need some improvements anyway. However, the relevant section in the online documentation is already pretty good, and it might be more reasonable to translate this to English. Any volunteers?
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply