Wiki

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

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

Created 2 years ago by 1065227709Tips0 comments – viewed 4,737 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,730 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,726 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

two or more different collected data in one CGridView

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

How to Display tooltp(qtip) on CGridview dynamic

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

Render a form in a Modal Popup using ajax

Created 2 months ago by thiagoc7How-tos3 comments – viewed 4,657 times – ( +4 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

using editors of yiibooster - fix issues - configuration

Created about a year ago by KonApazHow-tos0 comments – viewed 4,649 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,549 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,463 times – ( +5 )
Introduction

Integrating ZF2 into Yii - use case demonstrated

Created about a year ago by BoazHow-tos2 comments – viewed 4,447 times – ( +9 ) – version 2.0
I needed to use a class from ZF2 in my Yii project. I've read probably all there is about this subject and still I needed lots of trial & errors to get it working, probably due to my lack of experience working with namepsaces and ZF2 in general. Also, the resources on the web are all partial, at best. Most simply refer to ZF1 where things are technically different. When I got it all working I decided to record my findings and that's how this article was born. The below recipe is what worked for me, accompanied by relevant comments. References: This article is partially based on this guide page. Be sure also to consult Zend Framework 2 documentation.