Update Pages 'cHandle'

Permalink
How I can updat 'cHandle' from form. Is there some bug, at least documentation and api has awful naming

$page = Page::getByID($pageId);
$update = array(
'cName' => $name,
'cHandle' => $url

);
$page->update($update);

 
mrowell replied on at Permalink Reply
mrowell
pumppi,

I think you need a $page->rescanCollectionPath();

see http://www.concrete5.org/index.php?cID=366398...

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.