-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set custom url #15
Comments
Update the extension, cause I think it was fixed 6 months ago. |
Bro how can i implement this in my code please |
Bro i use this code $value, 'placement' => 'right', 'pluginOptions' => [ 'name' => 'title', ], 'paramsOptions'=>[ 'url'=>Yii::$app->getUrlManager()->createUrl(['gallery/updatetitle']), 'pk'=> $value->ID ``` ], ]);?>
|
url parameter doesn't go in paramsOptions. echo \mcms\xeditable\XEditableTextArea::widget([
'model' => $value,
'placement' => 'right',
'url' => ... please look php source! |
Bro i have tried using this code echo \mcms\xeditable\XEditableTextArea::widget([ but still display this error Not Found (#404): Unable to resolve the request: gallery/updatetitle but when i use 'url'=>'editable' this is working but my problem isnt solved i need custom url like this custom value and custom primary key please reply solution . please please ................... |
this is my controller code public function actionUpdateTitle() |
Bro alhamdulillah my problem is fixed . It was url camel case problem . |
Bro how can i set default url in this widget .
there is ser default url (editable)
but i need custom url in this widget .
please fixed this problem please reply the solution
this is my code
$value, 'placement' => 'right', 'pluginOptions' => [ 'name' => 'title', ``` ], //'url' => Yii::$app->getUrlManager()->createUrl(['gallery/updatetitle']) ]); ?>The text was updated successfully, but these errors were encountered: