Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 '<img src="path/to/source" alt="alt" target="'.$target.'" />';
  • No labels