A
A
Alexander2015-05-21 15:35:31
Yii
Alexander, 2015-05-21 15:35:31

How to set custom url in CListView widget?

hello i have a widget

$this->widget('zii.widgets.CListView', array(
                'dataProvider'=>$dataProvider,
                 'itemView'=>'mahala/_detail',
               ));
            }}

In the admin panel, the link for editing is blaController/blaAction , how do I set my own url ? myController/myAction

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Grechushnikov, 2015-05-21
@maxyc_webber

www.yiiframework.com/doc/api/1.1/CButtonColumn

M
Maxim Timofeev, 2015-05-21
@webinar

how is this widget related to the "edit" link?
link to "editing is displayed in CGridView" as an icon
If you mean a button, then it is most likely in the update template, not _form
Or give a screenshot with a circled button that needs to be edited and the code that it is displayed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question