E
M
B
E
D

<-- Back to Tags

{EMBED(obj_id, sub_temp, minutes, mode)}

Embed an object in the page.

You can use this to include the details of another object on the current page.

This is different to the OBJ_DATA command as it is designed to render the object in it's entirety including any sub-templates or other components linked to the object you are displaying.

Parameters
Number Name Default Type Description
1 obj_id 0 Integer Object ID or Ultimate Query
2 sub_temp 0 Integer Sub Template to Use
3 minutes 0 Integer Minutes cache age
4 mode 1 or 2 depending on user level Integer embed_mode: 1=normal, 2=include edit button on EMBEDed content?
Log in to add a Comment.