I created a class colors (extends Portlet) in the blog. And when I am trying to call $this->createUrl(…); in the view I have the following error:
So it means that CWidget don't inherit and by the way has not createUrl method.
My question is : How can I call createUrl method in the view?
Many thanks in advance.