CMS_LINKDESCR
The content type CMS_LINKDESCR prints description of a link, which is set through CMS_IMGEDITOR content type.
The usage is very simple. Put CMS_LINKDESCR between anchor tags in your module output area like below.
Note
If you are using more then one CMS_LINKDESCR per article, you have to change/increment index of the next CMS_LINKDESCR .
$linkDescr = "CMS_LINKDESCR[1]"; echo '<a href="www.someexistingurl.domain">"'.$linkDescr.'"</a>';
Methods for CMS_LINKDESCR
List all methods for CMS_LINKDESCR 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. |