search site content widget

i need a search site widget at the top of my site which searches for the $content of my site. and displays the result in $content also.

just like in

help is GREATLY APPRECIATED. thank you!

  1. craete a new portlet in protected/components

  2. include it in your main layout such as <?php $this->widget(‘application.components.Search’); ?>

all of the above is covered in Yii documentation

well, i’m pretty much the noob here, so to start off, i pretty much have no idea where to start with the widget… i mean if it’s just menu widgets, that would be easy.

Please go over the blog demo tutorial and you will be equipped with all the knowledge you need here