Wiki

Articles in category "tips"X
Displaying 61-70 of 97 result(s).

How to ensure unicity to url

Created about a year ago by zaccariaTips3 comments – viewed 8,175 times – ( +14 )
Many time for SEO porpouses is important that each page will have a unique address.
tags: SEO, unique, URL

adding class and links to Ctreeview node

Created about a year ago by bingjie2680Tips2 comments – viewed 7,528 times – ( +4 )
This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class.
tags: ctreeview, link, class

BaseModuleAR class with MultiActiveRecord

Created about a year ago by dinhtrungTips0 comments – viewed 5,043 times – ( +2 )
MultiActiveRecord is an extension that add support for multiple database connection for your application.

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

Created about a year ago by dinhtrungTips2 comments – viewed 8,142 times – ( +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.

Using CJuiDialog to edit rows in a CGridView

Created about a year ago by Russell EnglandTips7 comments – viewed 18,660 times – ( +2 / -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

Created about a year ago by isekreamTips4 comments – viewed 21,230 times – ( +9 / -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...

A simple class to use a different db for a module

Created 2 years ago by tydeas_drTips2 comments – viewed 8,468 times – ( +8 )
What would you do if you want/need to have a different than the main database connection in an module's models?

Getting nulls from database instead of empty strings

Created 2 years ago by samdarkTips2 comments – viewed 6,638 times – ( +12 )
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags: database, null

Syntax check

Created 2 years ago by Russell EnglandTips2 comments – viewed 4,462 times – ( +4 )
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
tags: php, syntax

A simple action for XUpload extension

Created 2 years ago by tydeas_drTips1 comment – viewed 9,701 times – ( +3 )
All the basic functionality for an action used by the xupload extension. Check resources for the source code of this action
tags: tips, xupload, caction