Wiki

Sorted by ratingX
Displaying 551-560 of 774 result(s).

Rendering Views and Updating them with Ajax

Created 2 years ago by Manish GuptaTips4 comments – viewed 18,925 times – ( +2 )
I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.

Set a menu - reusable code

Created 2 years ago by Kostas Apazidis (KonApaz)Tips0 comments – viewed 5,586 times – ( +2 )
As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)

A Single Page with a List and a Detail

Created 14 days ago by softarkHow-tos1 comment – viewed 1,653 times – ( +2 ) – version 2.0
The CRUD generator of Gii has done a wonderful job for you, and you already have a list of items in the "index" page and a detailed view of a specified item in the "view" page.
tags: gridview, detail, ajax

Tunneling using SSH in a limited enviroment

Created 2 years ago by nineinchnickOthers0 comments – viewed 6,034 times – ( +2 ) – version all
This tutorial describes how to connect to a remote service via tunnel when only most basic software is available on the remote server. It is not directly related to Yii. It could be hovewer useful for web developers working with shared hosting sites with limited access.

Publish yii webapp using Git push

Created 4 years ago by rootbearHow-tos6 comments – viewed 10,778 times – ( +2 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git

Integrate Zend 2 XML writer into Yii

Created 2 years ago by JonnyTutorials0 comments – viewed 4,437 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML

Using sub query for doubletts

Created 3 years ago by mbTips3 comments – viewed 11,580 times – ( +2 ) – version 1.1
find doubletts by db fields. in this example i will check doublets for 3 tabelfields (col1,col2,col3). so i will get a subquery with the condition, select and grouping of the tablefields. the having with COUNT() > 1 means: find all records more then one result.

Configuring Yii to run on both Windows and OSX

Created 2 years ago by trondHow-tos2 comments – viewed 4,719 times – ( +2 ) – version 1.1
If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:
tags: config

Custom Archive in Blog system

Created 3 years ago by nirmalrokaTips0 comments – viewed 5,406 times – ( +2 ) – version 1.1
Hi I had made simple archive system for blog system that can handle tbl_post. I had used simple CDbCriteria not more than that. I know there is more and many better way to this but I think this will give some idea to users to generate new idea or customized or modified this version of code.

Entire Messages into javascript object

Created 3 years ago by markuxHow-tos0 comments – viewed 6,054 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution: