API docs     >     Pages and Sites     >     Templates

Templates->setPreview

Description

setPreview ( $templateId, $value )
Sets the preview picture of the specified Template

Parameters

$templateId
int
Template Id
$value
int
File Id

Returns

bool
TRUE on success or FALSE in case of an error