Yii2 Lesson - 9 Advance Template CRUD Generation using the Gii Tool

preview_player
Показать описание
I have made a mistake in the date format at ( 9:06 ) it should be H:i:s ( i have used h:m:s )
Thanks for watching Yii2 Lesson 9 Advance Template CRUD Generation using the Gii Tool
Subscribe to the DoingITeasyChannel For more Yii Tutorials

Рекомендации по теме
Комментарии
Автор

Enjoying your tutorials. Keep up the good work. *thumbsup*

oraki
Автор

Dude, you helped me a lot! Since Yii 2.0 is new, there is few documentation :(

BrunoSousa
Автор

really helpfull, thank you man <3 ;)

djelloulihicham
Автор

Hi DoingITEasy,
thank you so much for this tutorial.
I am following your tutorial but I am using a ListView instead of a GridView.
Now I have two related tables and I wanna to display in that List, in the index page not only the ID link to each item but even the name of the column to which that ID is related.

For example I have a table Note with a relation Note.user_id to User.id.
Now in the ListView of the index of the Note I am seeing only a link with text of ID of the single Note, but what I want is to see even the user name related to that note in the User table.
Can you help me?
Thank you so much

Raffing
Автор

the relationships on the tables have to be OnetoMany/ManytoOne or Many to Many? to show the names and not the id's of the others tables?

gabyckaz
Автор

hey, why when I used Crud Generator function getCompaniesCompnay(){} in model at time (13:15) wasnt generated?

mohdiqmalazim
Автор

Hi, could you teach me how can I setup the timezone in Yii 2 advanced? Because I been living in Brazil. Thanks

nilosouza
Автор

Please I need these tables. I find it difficult or instruct me on how to relate the three tables together

mariamary
Автор

Hello.. Thanks for your tutorials. I have learned a lot of things about yii2. Now, I have a question: What is the way to make a menu in the index in order to access easily to the different views of the site, I mean, I want to create a menu to access to different views and this menu will be available in every view.
Thanks in advance for your help.

GeovannyCampoverde
Автор

tnk u for the tutorial but i didnt understand the related tables i hope u could help me with that

munkhtengergankhuyag
Автор

I created the branch model and CRUD application and it's not creating the branch information I entered. I checked my database to see if it received the data and it didn't. When I click "Create" on the create branches page it doesn't redirect me to the index.php page of the branches. It just leaves me at the create branches page. Do you have any solutions? It would greatly be appreciated.

FutureGamingTactics
Автор

How is mpdf used in the advanced template?
I need help.

josearrue
Автор

when I try to create a crud (table), the gii gives me this error. < Table 'companies' does not exist. how can I make it correct? i have been trying to correct this problem for 3 days but I cant. pls help

akmaljonusmonov
Автор

if you have error on created crud and first time created model, you write on the models created on the edit line namespace depending diferent space of working backend or front end example "namespace backend\models;", thanks a lot for tutorial

josearmandobautistagonzale
Автор

how can i put the relations in db..please hepl me out.i struck in this

priyasingarapu
Автор

Really I like your tutorial, Thank you 

aneeshikmat
Автор

Thank you for the tutorial.  It is definitely very helpful.  However, leaving the 777 permissions for Views, Controllers and Models directories in production worries me.  I could be exposing some key logic to hackers.  I am using Ubuntu 14.04 on AWS.  Is there a workaround?

sukhjotbasi
Автор

The table associated with backend\models\Companies must have primary key(s). please!!! ERROR in Minute 4:42

HELP ME!!!

TheJayko
Автор

foreign key constraints issue occurs when i update

saeedtalib
Автор

where could i get the three tables sql?

michaeldu