Kentico CMS 7.0 Developer's Guide

Links to content within the CMS

Links to content within the CMS

Previous topic Next topic Mail us feedback on this topic!  

Links to content within the CMS

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

Links to content within the CMS can be inserted via the Attachments, Content and Media libraries tabs. Detailed descriptions of all possible actions that can be performed on the tabs can be found in the File sources topic of the WYSIWYG editor -> Insert image or media subchapter.

 

Attachments

 

Via this tab, you can insert links to attachments of the current document. For more information about document attachments, please refer to the Document attachments chapter of this guide.

 

The following code sample shows what the output code looks like:

 

<a href="/3644_9682/getattachment/News/Your-first-news/NewsPhoto1.JPG.aspx">NewsPhoto1.JPG</a>

 

devguide_clip0802

 

Content

 

Via this tab, you can insert links to any pages, documents or files within the content tree of a site. The site 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 Dialog configuration topic.

 

The following code sample shows what the output code looks like:

 

<a href="/3644_9682/Images-(1)/Services_webdesign.aspx">Services webdesign</a>

 

devguide_clip0810

 

Media libraries

 

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

 

The following code sample shows what the output code looks like:

 

<a href="/3644_9682/CorporateSite/media/CzechCities/IM002595.JPG">IM002595</a>

 

devguide_clip0822