API docs     >     Pages and Sites     >     Templates

Templates->setDefaultNavi

Description

setDefaultNavi ( $templateId, $code )
Sets the default Navigation

Parameters

$templateId
int
Template Id
$code
string
Navigation code

Returns

bool
TRUE on success or FALSE in case of an error