Wiki

Sorted by date (updated)X
Displaying 661-670 of 770 result(s).

Integrating Wordpress and Yii: yet another approach

Updated 4 years ago by goncinHow-tos8 comments – viewed 23,278 times – ( +8 / -2 ) – version 1.1
It seems many people is trying to make Wordpress and Yii work together. I got stuck with the same problem, but now I think I have achieved doing it, after a lot of hard thinking and many work hours spent.

Search method of a model for filters when using dates - unixtimestamp in database

Updated 4 years ago by jwernerTips1 comment – viewed 26,675 times – ( +10 ) – version 1.1
I ran into a problem and on irc we worked it out. Since there is a lack on information on filters in genral i thought i'd start sharing all my findings, might be usefull for other people.

Using MBMenu and Rights to automatically create menu item for your modules

Updated 4 years ago by dinhtrungTips2 comments – viewed 13,290 times – ( +1 / -1 ) – version 1.1
Using Rights generator component, we can easily create a dynamic menu, in which we scan every modules' controllers, to access the index page of them.

How to create a wrapper for a js library

Updated 4 years ago by Maurizio Domba CerinHow-tos2 comments – viewed 13,433 times – ( +16 / -1 ) – 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 4 years ago by Russell EnglandTips8 comments – viewed 31,807 times – ( +4 / -1 ) – 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 4 years ago by isekreamTips5 comments – viewed 48,191 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...

How to write a simple application component

Updated 4 years ago by zaccariaHow-tos5 comments – viewed 51,463 times – ( +20 / -7 ) – 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 4 years ago by jwerdHow-tos4 comments – viewed 14,868 times – ( +2 ) – version 1.1
Sub-domains with different databases in Yii!

Single table inheritance

Updated 4 years ago by samdarkHow-tos8 comments – viewed 31,623 times – ( +41 ) – 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 4 years ago by samdarkTips2 comments – viewed 10,948 times – ( +13 ) – 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