Sorted by viewsX
Displaying 141-150 of 761 result(s).

How to use Multiple instances of the same model in the same form

Created 3 years ago by kiran sharmaHow-tos21 comments – viewed 43,502 times – ( +22 / -6 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

How to validate CSRF token with session

Created 4 years ago by yangmlsHow-tos1 comment – viewed 43,473 times – ( +22 ) – version 1.1
First of all, You must change component config to enable the default Yii CSRF validation.
tags: CSRF, session

Reliable Alternative For Yii::app()->request->isAjaxRequest AND Adding Data To Ajax Form With JS

Created 4 years ago by ibo_sHow-tos2 comments – viewed 42,875 times – ( +15 / -1 ) – version 1.1
In this How-To I'll show you:

Using CJuiDatePicker for CGridView filter

Created 3 years ago by softarkHow-tos14 comments – viewed 42,814 times – ( +26 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.

Using Yii with Oracle through PDO

Created 5 years ago by TrejderTips6 comments – viewed 41,891 times – ( +1 ) – version 1.1
When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.

Sort and filter a custom or composite CGridView column - that may even contain data from different tables.

Created 2 years ago by Gerhard LiebenbergHow-tos2 comments – viewed 41,573 times – ( +6 / -1 ) – version 1.1
I have a table (account) which contains "General Ledger" accounts. Each account has its own account_description - such as 'inventory', 'sales', etc.

Create / Generate PDF files with TCPDF plugin (Example to generate Table with TCPDF plugin)

Created 2 years ago by codesutraTutorials11 comments – viewed 41,529 times – ( +6 ) – version 1.1
Few days ago i was playing with TCPF plugin to create a PDF files. Since i have checked few available extension and also checked some forum threads but still i dont get my expected result for PDF file.

How to show ajax delete status in CGridView like flash messages

Created 4 years ago by hasanaviHow-tos12 comments – viewed 40,842 times – ( +24 ) – version 1.1
I've seen many tickets regarding how to show friendly delete confirmation using CGridView's CButtonColumn in ajax request. If you are using relational database, after producing CRUD functionality when you try to delete a record in ajax mode which has child record it can't be deleted and you can see the ajax loader forever. By this way you can't show the users if a record has been successfully deleted or if there are some problem in flash style (setFlash() / getFlash())

Importing CSV file to mysql table using "LOAD DATA" command.

Created 3 years ago by sirin kTips6 comments – viewed 40,820 times – ( +7 ) – version 1.1
hi, Here i am giving you some simple step to import huge data from a csv file to your mysql table.this is useful when you have a very huge data to import from csv format.
tags: csv, mysql, import

Customizing the CMenu Widget

Created 2 years ago by mistrybTips1 comment – viewed 40,568 times – ( +5 / -1 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.