CMS_LINKTARGET

The content type CMS_LINKTARGET prints raw target attribute, which is set through CMS_LINKEDITOR content type.

The usage is very simple. Just put CMS_LINKTARGET in target attribute in your module like below.

Note

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

$target = "CMS_LINKTARGET[1]";
echo '<a href="www.someexistingurl.domain" target="'.$target.'">Url</a>';

Methods for CMS_LINKTARGET

List all methods for CMS_LINKTARGET 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.