Wiki

Sorted by viewsX
Displaying 531-540 of 685 result(s).

Making friends' configs, DB credentials and paths with version control

Created about a year ago by Alexander PalamarchukTips1 comment – viewed 4,763 times – ( +2 / -1 ) – version 1.1
In many cases developers of one project use their own local environments for coding. There may be a common test platform and, of course, production. All these environments usually have different DB credentials and directory structures (first of all, path to YII framework directory). Another feature is debugging. It's convenient to turn it on for local environments, eventually - on the test server and never (generally speaking) - on the production.
tags: config

Remove Byte Order Mark (BOM) from files recursively

Created 9 months ago by KonApazHow-tos3 comments – viewed 4,732 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

an easy way to required multi columns(At least one cannot be blank)

Created 2 years ago by 1065227709Tips0 comments – viewed 4,720 times – ( +2 ) – version 1.1
in model add the following code:
tags: rules

ePay Integration - Bulgarian Payment Provider

Created about a year ago by yasenTutorials2 comments – viewed 4,712 times – ( +7 ) – version 1.1
I. In the view script add the following hidden fields:

Syncing sessions between Yii and KCFinder

Created about a year ago by Thanasis FotisHow-tos7 comments – viewed 4,706 times – ( +1 ) – version 1.1
Info: As KCFinder's documentation mentions, if your application (Yii in our case) session handling is using the PHP environment configuration - meaning no change in session handling at all, then no change is needed also on KCFinder side to be able to use this session and thus have this simple interface between your Yii webapp and KCFinder. If that's your case then you probably need not read the rest of this article but rather just make sure that before a user attempts to upload or browse your server a session variable is already set for him (or her) with his specific configuration already waiting for KCFinder there. What can this session interface be useful for? For example, for having per-user upload directory. You could have uploadURL variable established in the session variable to contain the user's id. When an upload or browse use case will occur, the client side will trigger the KCFinder completely decoupled from the Yii application. Yet, since you've already synced your user-specific-configuration with KCFinder via the session, KCFinder will pick it up and use it.
tags: File upload

How to Display tooltp(qtip) on CGridview dynamic

Created about a year ago by Ankit ModiTips1 comment – viewed 4,636 times – ( -1 )
Hi Friends,

two or more different collected data in one CGridView

Created 8 months ago by KonApazHow-tos2 comments – viewed 4,630 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

using editors of yiibooster - fix issues - configuration

Created about a year ago by KonApazHow-tos0 comments – viewed 4,629 times – ( +5 ) – version 1.1
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

Implementing menu items with progress (wait) dialog

Created about a year ago by TrejderHow-tos0 comments – viewed 4,531 times – ( +1 ) – version 1.1
This article shows one of possible ways to implement menu items (as well as links), which displays a progress / wait dialog and are redirecting browser to destination URL in the same time. This is especially useful, for links or routes that are know to be loaded for a prolonged period of time (i.e. getting a lot of data from database).

New Relic Error Alert with Yii

Created 11 months ago by simon604Tips2 comments – viewed 4,438 times – ( +5 )
Introduction