Wiki

Sorted by viewsX
Displaying 131-140 of 771 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 49,766 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.

Using CAutoComplete to display one value and submit another

Created 7 years ago by luoshibenTutorials5 comments – viewed 49,545 times – ( +8 / -3 ) – version 1.1
Note: CAutoComplete is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.

Custom Number Formatting or Decimal Separators and i18n

Created 3 years ago by c@cbaTutorials8 comments – viewed 49,542 times – ( +7 ) – version 1.1
By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...

Create custom button button with AJAX function in CGridView

Created 3 years ago by nkdHow-tos2 comments – viewed 49,506 times – ( +19 ) – version 1.1
CButtonColumn in CGridView can be customised to include user built buttons. To learn a great deal about including custom buttons, read this excellent wiki. This tutorial will show how to call an action from one custom button using AJAX instead of regular GET calls.

Integrating Yii with Wordpress

Created 5 years ago by isekreamTips5 comments – viewed 49,226 times – ( +10 / -1 ) – version 1.1
Well I finally had some time and tinkered a bit with the notion of integrating wordpress and Yii. Now for me I wanted to use Yii as a framework to develop wordpress plugins. Using some tips from imasia Article I was able to do a simple integration of yii as a wordpress plugin. The integration was very basic and i just used yii with its default installation site. I don;t know how it will really react with CRUD application as yet but it was fairly easy to integrate after reading the article...

Introducción al control de acceso basado en roles (RBAC)

Created 5 years ago by Juan CalvoTutorials4 comments – viewed 48,738 times – ( +17 / -1 ) – version 1.1
Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).

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

Created 2 years ago by codesutraTutorials11 comments – viewed 48,698 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.

Yii Related Sites

Created 5 years ago by jacmoeOthers4 comments – viewed 48,374 times – ( +34 ) – version 1.1
This is a list of blogs, off-site tutorials and other resources about Yii.

Styling Radio Buttons

Created 5 years ago by Steve FriedlTips5 comments – viewed 48,347 times – ( +15 ) – version 1.1
The default behavior with radio button lists is ugly, and I figured out mostly how to style them a coupla different ways. I'll used the blog tutorial example (but with my own posting modes):

How to validate CSRF token with session

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