Here's the code I'm using to set a headline:
$website = $pages->get("user={$user}, path=/websites/");
$website->setOutputFormatting(false);
if(!$input->post->headline) {
$error .= "Please add your Headline.
";
} else {
$website->headine = $input->post->headline;
}
$website->save();Is there something special I need to do to set this field?
Edited by adamkiss, 21 May 2012 - 11:01 AM.
Marked as solved













