/
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>';
Methods for CMS_LINK
List all methods for CMS_LINK at our API documentation.
Function name | Description |
---|---|
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. |