Wiki

Sorted by viewsX
Displaying 131-140 of 777 result(s).

Custom Number Formatting or Decimal Separators and i18n

Created 4 years ago by c@cbaTutorials8 comments – viewed 50,796 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 / Generate PDF files with TCPDF plugin (Example to generate Table with TCPDF plugin)

Created 3 years ago by codesutraTutorials11 comments – viewed 50,647 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.

Theming your Zii Widgets

Created 5 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 50,615 times – ( +20 ) – version 1.1
One aspect of User Interface Design has to do with the coherence of the design and the use of the colors between the different User Interface Components used.

Create custom button button with AJAX function in CGridView

Created 3 years ago by nkdHow-tos2 comments – viewed 50,504 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.

How to create nice modal login widget with a CJuiDialog

Created 5 years ago by Igor IvanovicTutorials3 comments – viewed 50,482 times – ( +9 / -1 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

Integrating Yii with Wordpress

Created 5 years ago by isekreamTips5 comments – viewed 50,374 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...

Using CAutoComplete to display one value and submit another

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

How to validate CSRF token with session

Created 4 years ago by yangmlsHow-tos2 comments – viewed 49,661 times – ( +23 ) – version 1.1
First of all, You must change component config to enable the default Yii CSRF validation.
tags: CSRF, session

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

Created 5 years ago by Juan CalvoTutorials4 comments – viewed 49,604 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).

Styling Radio Buttons

Created 5 years ago by Steve FriedlTips5 comments – viewed 49,077 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):