Kentico CMS 6.0 Developer's Guide

File sources

File sources

Previous topic Next topic Mail us feedback on this topic!  

File sources

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Using the four tabs at the top of the dialog window, you can choose from where the image or media should be inserted. The following tabs are available:

 

Attachments

 

This tab is available only if the WYSIWYG editor is placed on a certain document (e.g. Form tab, user contributions etc.) so that attachments of the current document can be offered. In other parts of the CMS, the tab is not displayed.

 

From this tab, you can insert unsorted attachments of the document into the text. For more information about document attachments, please refer to the Document attachments chapter of this guide.

 

You can select an attachment using the Select (Next) icon or by simply clicking the appropriate line (or tile/thumbnail in the other view modes).

 

You can upload new attachments to the document via this dialog using the New file (NewFile) button. The following actions can be performed with the listed attachments:

 

After clicking the View (View) icon, the attachment will be opened in a new window.

Using the Delete (Delete) icon, you can remove the attachment from the document.

Using the Move up (Up) and Move down (Down) icons, you can re-order the attachments. This option is available only in the List view mode. The order is stored in the AttachmentOrder property of each attachment. You can enter AttachmentOrder into the ORDER BY expression property of a displaying web part to have the attachments ordered accordingly.

Using the Edit (Edit) icon, you can edit metadata of the file. However, clicking this icon placed beside an image opens the image in the built-in image editor.

Using the Update (Update) icon, you can replace the original attachment with a new one.

 

devguide_clip0743

 

Content

 

From this tab, you can insert files stored in the content tree of any of the sites running in the system. The site to insert from can be selected using the Site drop-down list, while its content tree will be displayed below. You can define which sites will be available. You can also define the starting alias path of the displayed content tree when defining a field in the field editor, as described in the Dialogs configuration topic.

 

If you select a node of the content tree, all insertable files stored under it will be listed in the main area. You can filter the listed files by Name, Type, Size and the time when the files were Modified using the filter above the list.

 

You can select a file using the Select (Next) icon or by simply clicking the appropriate line (or tile/thumbnail in the other view modes).

 

New folders (cms.folder documents) can be created in the content tree via this dialog using the New folder (NewFolder) button. You can also upload new files (cms.file documents) into the content tree using the New file (NewFile) button. The following actions can be performed with the listed files:

 

After clicking the View (View) icon, the file will be opened in a new window.

Using the Edit (Edit) icon, you can edit metadata of the file. However, clicking this icon placed beside an image opens the image in the built-in image editor.

 

devguide_clip0748

 

Media libraries

 

From this tab, you can insert files stored in a media library. Depending on the settings described in the Dialogs configuration topic, you can select a library using the set of three drop-down lists - Site, Group and Library - in the top right part of the dialog.

 

More information about Kentico CMS Media libraries can be found in the Modules -> Media libraries chapter.

 

When a library is selected, its folder structure is displayed below the drop-down lists. After selecting a folder, its content will be offered in the main area. You can filter the listed files by Name, Type, Size and the time when the files were Modified using the filter above the list.

 

You can select a file using the Select (Next) icon or by simply clicking the appropriate line (or tile/thumbnail in the other view modes).

 

You can also perform the following actions with the listed files:

 

After clicking the View (View) icon, the file will be opened in a new window.

Using the Edit (Edit) icon, you can edit metadata of the file. However, clicking this icon placed beside an image opens the image in the built-in image editor.

 

devguide_clip0752

 

Web

 

From this tab, you can enter an image, audio, video or flash from the web by entering its URL. More information on how to use this tab can be found in the Inserting images or media from the Web topic.

 

devguide_clip0754