Questions tagged as 'yii2'

0
answers

list all users yii2 in the form

Hello my question is this I have this view and when creating an assistance, this other view is displayed There I can choose the date and the name of just a mechanic and a checkbox goes down to see if he attended or not my qu...
asked by 10.06.2018 / 03:02
0
answers

Trying to get property of non-object yii2 ADMINLTE

my problem is this, I'm working with yii2 and with the basic mode in the main when I wanted a certain profile to see certain tabs I did it in the following way if(Yii::$app->user->identity->perfil_id == "1") and it worked perfectly...
asked by 06.06.2018 / 22:59
0
answers

Problem when uploading a file in yii2

Hello, I am trying to upload a file with spaces in the name of the file and it does not upload it, however without space in the name of the file if it uploads perfectly. I'm using Yii2. This is my view <?php $options = ($model->modo...
asked by 02.06.2018 / 20:47
1
answer

insert an image in yii views with the main.css

I want to insert an image using the main.css of yii but when using this code: .configuracion { background-image: url(configuration_13194.png) no-repeat; background-color: red; } And then use it in echo "<div class...
asked by 08.06.2018 / 15:05
1
answer

create a button to call skype from an array nav in yii2

good afternoon I hope you can help me with this little problem I have an app in yii2 and I need a button <a href="tel:+12300000000">WhatsApp 24/7 +12300000000 (Jose)</a> that contains that link to use the functions when...
asked by 24.05.2018 / 23:21
0
answers

Problem generating a drop down with PHPExcell

Hello good afternoon, I'm having an identical problem when I assign to the cell the formula when generating the report, it does not take the form of drop down, it leaves the same but I am generating it with a range of cells. $objPHPExcel->a...
asked by 24.05.2018 / 00:12
0
answers

How to send query with join to a ListView and access a data that is not of the model that you sent

How to send query with join to a ListView and access a data that is not of the model that you sent. Ex: //controlador Alumno::findbysql("consulta con join"); //vista <?= ListView::widget([ 'summary' => '', 'dataPr...
asked by 18.05.2018 / 23:41
0
answers

Approve conditions written in PHP to MySQL SP

Good morning or nights for some. The following block of code works correctly and is written in PHP with the help of the Yii2 framework: $subQuery = (new \yii\db\Query) ->select([ 'p.FK_DOCUMENTO_ODC',...
asked by 13.04.2018 / 16:25
2
answers

Problem opening application in Yii2

I am presenting the following problem and that is when opening my Yii2 application, the charge in my browser as follows link and I get the following error Fatal error: Cannot use 'Object' as class name as it is reserved in C:\xampp\htdocs...
asked by 28.03.2018 / 04:10
0
answers

Avoid emails from gmail with swift mailer in yii2

I am trying to configure my yii2 application to send emails from my gmail account, I have already enabled "Allow access to less secure applications" in my account. I configured the swift mailer as shown below, everything else (Model and Controll...
asked by 27.03.2018 / 18:03