I am working with a pre-built API (not restfull) on Yii2 Framework. It responds with JSON data and accepts requests depending on User type and credential token. Now I have to make an app that is on a different location (domain) which is causing CORS...
I am using philippfrenzel/yii2fullcalendar and I want to show the event description.  when I am using the code:  <script> var JSEventClick = (function(calEvent, jsEvent, view) {    //  document.getElementsByClassName('.fc-title').innerH...
I'm new here. I need help. I use a plugins called "wbraganca / yii2-dynamicform". I have a form that allows the sum of two fields (caja1 and caja2, and the result of the add is "total"). This works. But I have a problem, when I us...
I want to make the chart like the picture below. I made the chart below by typing data manually.  Picture 1    But, I want to take data from database, but I don't know how to categorize the xAxis.  I have codes like this:  controller  $faculty =...
In my Yii2 application i've a script that need Jquery to be loaded in the head of the page.  I know there's a parameter that can be setted inside AppAssets.php :  public $jsOptions = [     'position' => \yii\web\View::POS_HEAD ];...
I rewrited my question:  I'm using Kartick DatePicker to display a datepicker. On this datepicker, I want to disable dates using javascript. Here is what I have:  <?= DatePicker::widget([     'name' => 'mydate',           &#...
In order to handle the form I'm using the following code (for test only):  $(document).on("beforeSubmit", "#test-form", function (event, messages) {     $(this).find(':submit').attr('disabled', true);     console.l...
I'm trying to use onclick on a dropdownlist.  This is my view :  <?= $form->field($model, "contact_gender")->dropDownList(ArrayHelper::map($genders, 'value', 'description'),['class'=>'form-control&#...
I've view page(index.php) in my Yii2 project, and I'm using Kartik gridView for showing the data  This the view from index.php:    On the right side of view, I've a checkbox column. And I've an Export button. I want to export the sele...
I have 3 seperate dataProviders for my Gridview, one with Saved data, one with Unsaved data and one with both.  Now this is what I'm trying to accomplish:    If you click on saved, the dataProvider changes to the one with saved data.   I'm tr...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.