...
The usage is very simple. Put CMS_IMGDESCR tag in alt attribute in your module like below.
Info | ||
---|---|---|
| ||
If you are using more then one CMS_IMGDESCR per article, you have to change/increment index of the next CMS_IMGDESCR . |
Code Block | ||
---|---|---|
| ||
$descr = "CMS_IMGDESCR[1]"; echo '<img src="path/to/source" alt="'.$descr.'" />'; |
Methods for CMS_IMGDESCR
List all methods for CMS_IMGDESCR 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. |