Hello All,
i have a very simple counter function placed in Page_Controller in Page.php (which extends Sitetree):
public function ilike(){
$newCount = $this->Counter + 1;
$this->Counter = $newCount;
$this->write();
}
somehow the data is never ever updated.
I also tried the update() function.
does not help. I get no errors or something.
are there any restrictions to write on a sitetree item?
thanks in advance,
florian