Conditional DIV


can I show DIV if variable is set by means of framework?

Not quite sure if I understand you, but you can always use "if" in your view to turn on or off a block.

I mean something like panel in Prado.

you can create such a widget, if you like. :wink:

It's too simple to be included in Yii release.

If you are feeling creative you can create something like the CPradoViewRenderer and have it generate the "if" block for you based on an attribute value. I've gone this route and I have found it a bit easier in the long run…