how can I display data without encasing it in the site template?

Hi there,

I am new to Yii development, and have a quick question for you.

I have a script from an outside program that sends an http request to my yii application. I need my yii application to respond with html that is not encased in the site template.

How can I do this, yet still have main.php display the site when a normal user visits the site?

Any help would be appreciated.

Thanks

You can use CController.renderPartial() or set layout to false.