/
CMS_LINK

CMS_LINK

The content type CMS_LINK prints raw link, which is set through CMS_LINKEDITOR content type.

The usage is very simple. Just put CMS_LINK in your module like below.

Note

If you are using more then one CMS_LINK per article, you have to change/increment index of the next CMS_LINK.

$link = "CMS_LINK[1]";
echo '<a href="'.$link.'" target="_blank">Url</a>';


List all methods for CMS_LINK at our API documentation.

Function nameDescription
generateViewCode()Generates the code which should be shown if this content type is shown in the frontend.
generateEditCode()Generates the code which should be shown if this content type is edited.