Sorted by date (updated)X
Displaying 681-690 of 786 result(s).

How to create a wrapper for a js library

Updated 6 years ago by Maurizio Domba CerinHow-tos2 comments – viewed 15,402 times – ( +16 / -2 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Using CJuiDialog to edit rows in a CGridView

Updated 6 years ago by Russell EnglandTips8 comments – viewed 34,833 times – ( +4 / -2 ) – version 1.1
I have a CGridView with a list of clients/events. For each row (EventClient) I wanted a quick edit dialog.

Integrating Yii with Wordpress

Updated 6 years ago by isekreamTips5 comments – viewed 58,692 times – ( +10 / -2 ) – 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...

How to write a simple application component

Updated 6 years ago by zaccariaHow-tos5 comments – viewed 59,531 times – ( +20 / -8 ) – version 1.1
An application component is a confortable way for share information among all component of the application

Sub-domains with different databases in Yii!

Updated 6 years ago by jwerdHow-tos5 comments – viewed 17,607 times – ( +2 / -1 ) – version 1.1
Sub-domains with different databases in Yii!

Single table inheritance

Updated 6 years ago by samdarkHow-tos8 comments – viewed 39,361 times – ( +41 / -1 ) – version 1.1
Relational databases do not support inheritance so if we need to represent it, we have to somehow store meta info while keeping performance by minimizing JOINs. One way to solve this problem is using single table inheritance. All fields for the whole class tree are stored in a single table. Class name is stored in the type field of the same table.

Getting nulls from database instead of empty strings

Updated 6 years ago by samdarkTips2 comments – viewed 12,918 times – ( +13 / -1 ) – version 1.1
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags: database, null

Local time zones and locales

Updated 6 years ago by Russell EnglandHow-tos9 comments – viewed 74,362 times – ( +14 / -3 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

[PT-BR] Proteção Contra Logout CSRF

Updated 6 years ago by Rodrigo CoelhoTutorials0 comments – viewed 8,908 times – ( +2 / -2 ) – version 1.1
CSRF é o acrônimo para Cross-site request forgery. CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.

Implementing a Registration Process using the yii-user-management module

Updated 6 years ago by thyseusTutorials6 comments – viewed 67,146 times – ( +7 / -1 ) – version 1.1
Hi Folks,