How To Create Blocks In Yii


My target is create blocks like latest news and reuse it in different part of my app

Is possible to do that with " Partial render " , How I can do it ?

Thanks in advance

Hi samilo

You are probably looking for widgets. See the guide.

I think he is specificaly looking for CPortlet :)