Object Data Part Modifiers
Using the {OBJ_DATA()} command, as well as the Part Number of the object you want to retrieve data from, you can also apply modifiers to the result.
Modifiers come in two parts, Part 1 (Numeric) and Part 2 (Alpha Numeric). Both parts are optional.
Modifiers are applied by following the part with a Colon (:) and then the desired modifiers.
e.g. {OBJ_DATA(0, C1:1)} would return Character Data 1 but turn it into a link that takes the user to the object.
{OBJ_DATA(0, C2:IST)} would return Character Data 2 but as an HTML Image Small Thumbnail.
{OBJ_DATA(0, C2:4ILT)} would return Character Data 2 but as an HTML Image Large Thumbnail and as a Link to open the full image in a viewer.
Part 1 effects the behaviour of what is returned.
Part 2 effects the way the result is rendered.
Modifier 1
| 1 | Add a Link to referenced Object |
|---|---|
| 2 | Add a Link to Current Object (COID) |
| 3 | Add a Link to a URL, Video, Audio, Doc, Image or Email |
| 4 | Add a Light Box Opener to item |
| 5 | Add ..[Read More] link to the current Object if ... is at the end of the line |
| 8 | Make the specified part Editable with a visible input area |
| 9 | Make the specified part Editable when the user clicks on the area |
| IMG | Image |
|---|---|
| Return the data as the src property inside an HTML img tag. | |
| IST | Image Small Thumbnail |
| Return as an HTML img tag but for a Small Thumbnail version of the Image | |
| ILT | Image Large Thumbnail |
| Return as an HTML img tag but for a Large Thumbnail version of the Image | |
| URL | Full URL |
| Return the full URL of the resource referenced in the data value | |
| UST | URL Small Thumbnail |
| Return the full URL of the Small Thumbnail version of the resource referenced in the data value | |
| ULT | URL Large Thumbnail |
| Return the full URL of the Large Thumbnail version of the resource referenced in the data value | |
| FAI | Font Awesome Icon |
| Return a Font Awesome 4 Icon to represent the resource referenced in the data value | |
| BR0-9 | Boolean Render |
| Render the the Data value as a boolean value using the numbers indicated here: Boolean Rendering | |
| RED | Relative Date |
| More info to follow! | |
| RET | Relative Time |
| More info to follow! |