{"version":"1.0","type":"rich","title":"Gist 22d2abbe02eedb8e1141","description":"This example shows how to move a Yii framework searchable grid view from a dedicated admin page to the site’s index page. It demonstrates reusing the generated `Post` model’s `search()` method and the `CGridView` widget with a filter and advanced search toggle. The code copies the controller action logic and the associated view script, including the jQuery-based search-button toggle and `yiiGridView` update callback, into the new location. The data provider is built from the model’s search criteria, and the grid displays columns for id, title, content, status, and timestamps.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-22d2abbe02eedb8e1141?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}