(Only thing I dont get from this tutorial is where to add this new button definition, i.e, which function in CButtonColumn.php, though I understand that array must be added to the $this->buttons array variable. )
The cookbook you referenced… explains how to make new buttons without extending the CButtonColum that you have done…
If you extend a class… instead of changing the framework code… it’s always better to put the extended class in your application path… protected/components or protected/extensions…
If you extend CButtonColumn… you define the class as
array(
'class'=>'CMyCustomButton',
),
but for the beginning (until you get an idea of how to extend a class… follow the cookbook word by word… until you get it working that way, IMHO