Documentation
MEDIA
usage
<MEDIA ID="number">
<INFO>
<ID>number</ID>
<CREATORID>contactID</CREATORID>
<OWNERID>contactID</OWNERID>
<GROUPID>groupID</GROUPID>
<MODIFIERID>contactID</MODIFIERID>
<CREATIONDATE>YYYY-MM-DD hh:mm:ss</CREATIONDATE><!-- automatically filled by Sushee -->
<MODIFICATIONDATE>YYYY-MM-DD hh:mm:ss</MODIFICATIONDATE><!-- automatically filled by Sushee -->
<MEDIATYPEID>number</MEDIATYPEID>
<MEDIATYPE>text</MEDIATYPE>
<DENOMINATION>text</DENOMINATION>
<PAGETOCALL>text</PAGETOCALL>
<TEMPLATE>text</TEMPLATE>
<TIMEIN>YYYY-MM-DD hh:mm:ss</TIMEIN>
<TIMEOUT>YYYY-MM-DD hh:mm:ss</TIMEOUT>
<EVENTSTART>YYYY-MM-DD hh:mm:ss</EVENTSTART>
<EVENTEND>YYYY-MM-DD hh:mm:ss</EVENTEND>
<AUTHORID>contactID</AUTHORID>
<PUBLISHED>boolean</PUBLISHED>
<CHECKED>boolean</CHECKED>
</INFO>
</MEDIA>
parameters
MediatypeID: the ID of the mediatype. A mediatype is a subclass of media (e.g. News, Page, Menu).
Mediatype: the name of the mediatype
Denomination: the denomination of the media. Usually indicative.
Pagetocall: a PHP script to call to display this media on the website. Only used for special cases. Usually the script called is named like the mediatype.
Template: a template called to display the media on the website. Used freely.
Timein: when the media should be displayed
Timeout: when the media should stop being displayed
Eventstart: when the event described in the media starts
Eventend: when the event described in the media stops
AuthorID: the ID of the contact describing the author of the text in the media
Published: if the media is displayed on the website or not. Unpublished media are not sent in the requests destined to the website.
Checked: indicative. Can be used by the editor to list which medias have already been verified by him.
Media objects are destined to content publishing. They are used with the DESCRIPTION sushee service. This service is intended to translate the content in many languages.
Media objects mainly contain informations intended to manage their publishing (publication date, checked, published), the content is in their DESCRIPTION.
See also :
MEDIATYPES
Configure Shaper