API docs     >     Pages and Sites     >     Sites

Sites->setTemplateRoot

Description

setTemplateRoot ( $siteId, $templateId )
Sets the Template root directory displayed when selecting Templates for Pages of the specified Site

Parameters

$siteId
int
Site Id
$templateId
int
Template folder Id

Returns

bool
TRUE on success or FALSE in case of an error