API docs     >     Pages and Sites     >     Templates

Templates->addContentarea

Description

addContentarea ( $templateId, $code )
Adds a Contentarea to a specific Template

Parameters

$templateId
int
Template Id
$code
string
Contentarea code

Returns

bool
TRUE on success or FALSE in case of an error