I was wondering how can I create a form without a model in Yii2 framework as I am creating a mailchimp signup form so a model isn't necessary the below code generates a form however as you can see it uses a model.  <?php $form = ActiveForm::be...
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 have a case to manage a dynamic input in yii2. So I choose this extension : wbraganca  This is my code :  <?php $form = ActiveForm::begin(['id' => 'dynamic-form']); ?> <div class="row">     <div class="...
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 asked that question today and the user gave me best answer, but it seems that its not working. Maybe its all because i use not raw Bootstrap-slider.js but Kartik's extension. So here is what i do:   <div class="col-md-4">     <...
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 ];...
Hi I wanted to know the advantage of registering Asset Bundle following the process described in the docs like Process one in AppAsset.php  public $js = [         'js/myjsfile.js'     ];   then in the view file adding Namespace like  namespac...
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',           &#...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.