Wiki

Sorted by viewsX
Displaying 401-410 of 733 result(s).

Using events with CAction classes

Created 3 years ago by Antonio RamirezTips0 comments – viewed 11,689 times – ( +9 ) – version 1.1
There are some good guides out there explaining how to work with events and the ways to attach them to your components, but none (that I know) explain the following way to configure your events with CAction classes on your controllers the following way.

Log Activity in DataBase

Created about a year ago by mahdi1986Tutorials6 comments – viewed 11,684 times – ( +8 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

YouTube API v2.0 – Browser-based Uploading

Created 2 years ago by VaibhavHow-tos1 comment – viewed 11,645 times – ( +6 ) – version 1.1
Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

Create sitemap.xml file dynamically on root folder with one hit

Created 2 years ago by kiran sharmaHow-tos1 comment – viewed 11,601 times – ( +5 / -5 ) – version 1.1
I had created one controller file which can create sitemap.xml file(which is used for seo, google crawler and many other puropse) dynamically with one run.
tags: SEO, SiteMap, XML

CJuiTabs Content

Created 2 years ago by mbalaTips2 comments – viewed 11,506 times – ( +6 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Managing constants easily

Created 3 years ago by briiC.lvTips4 comments – viewed 11,441 times – ( +4 ) – version 1.1
For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere.

Using SQLite and CDbMessageSource as a module

Created 2 years ago by pheadeauxHow-tos5 comments – viewed 11,353 times – ( +5 ) – version 1.1
There are scenarios when you work with DVCS (like Mercurial or Git) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very time consuming. Plus, when working in a team, you never know when the database was updated.

Integrating FirePHP

Created 4 years ago by ricardogranaTutorials5 comments – viewed 11,340 times – ( +8 ) – version 1.1
Install Firebug plugin for Firefox from here.

AutoTimestampBehavior

Created 6 years ago by jonahTutorials1 comment – viewed 11,334 times – ( +2 / -2 ) – version 1.1
Note: currently a variant of this class CTimestampBehavior is included into Yii distribution package.

Visualization tree-multi subcategories as listbox or dropdownlist

Created about a year ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 11,286 times – ( +4 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?