Wiki articles

Showing 141-160 of 804 items.

Safely checking if a model class exists (without exploding)

Created 5 years ago by Boaz, updated 5 years ago by CeBe.

While rewriting the PcReportContent extension I'm maintaining I've bumped to a challenge. This wiki was born out of it.

1 0
2 followers
Viewed: 11 881 times
Version: 1.1
Category: How-tos

Simple Google Maps object for use with ajax maps

Created 4 years ago by Chris Backhouse, updated 4 years ago by Chris Backhouse.

The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.

0 0
3 followers
Viewed: 11 969 times
Version: 2.0
Category: How-tos

Shrink Yii, help your IDE and speed up copying

Created 8 years ago by dckurushin, updated 8 years ago by dckurushin.

yii-1.1.8.r3324 framework directory is 10.4 mb size.

9 8
17 followers
Viewed: 11 982 times
Version: 1.1
Category: Tips

How to apply a layout to an AJAX update

Created 6 years ago by trond, updated 5 years ago by CeBe.
  1. The Main template holds the header, main navigation and footer
  2. One or more layout files holds the column setup, sub navigation etc.
  3. The view files hold the actual page content.
1 0
4 followers
Viewed: 12 038 times
Version: 1.1
Category: How-tos
Tags: AJAX, views

Manage Email Template content from database

Created 5 years ago by Ankit Modi, updated 5 years ago by Ankit Modi.

Hi Friends,

0 1
1 follower
Viewed: 12 063 times
Version: all
Category: Tutorials
2 0
9 followers
Viewed: 12 101 times
Version: 1.1
Category: Tutorials

Yii CDBHttpSession数据库存储session性能优化实战

Created 8 years ago by Darwin Wen, updated 8 years ago by Darwin Wen.

上一篇 关于 Yii CHttpSession性能优化篇之源码流程分析 有详细分析CHttpSession执行流程,在了解CHttpSession的详细执行流程之后,我们就可以非常轻松的扩展Yii Session,来优化和符合自己的业务流程。

1 1
1 follower
Viewed: 12 120 times
Version: 1.1
Category: Tips

Syncing sessions between Yii and KCFinder

Created 7 years ago by Thanasis Fotis, updated 5 years ago by Boaz.

>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 t...

1 0
6 followers
Viewed: 12 177 times
Version: 1.1
Category: How-tos

How to Display tooltp(qtip) on CGridview dynamic

Created 6 years ago by Ankit Modi, updated 6 years ago by softark.

Hi Friends,

0 0
4 followers
Viewed: 12 208 times
Version: Unknown (update)
Category: Tips

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created 6 years ago by le_top, updated 6 years ago by le_top.

Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

3 0
3 followers
Viewed: 12 271 times
Version: 1.1
Category: Tips

Autocomplete in console command

Created 8 years ago by Stamm, updated 8 years ago by Stamm.

Missed of autocomplete in bash console commands yii make me sad.

3 0
4 followers
Viewed: 12 434 times
Version: 1.1
Category: Tutorials

Disallowing login for INACTIVE users in Yii

Created 5 years ago by Rohit Suthar, updated 5 years ago by Rohit Suthar.

In this wiki I will show how to Disallowing login for Inactive users. Only Active users can logging and access their account. You can set privacy for your yii web apps users.

1 0
3 followers
Viewed: 12 454 times
Version: 1.1
Category: Tutorials

Sort and save order of model-elements drag & drop

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

Suppose you have Products,Categories and each product belongs in many categories

1 0
4 followers
Viewed: 12 539 times
Version: 1.1
Category: Tutorials

Yii2: Query build for complexity SQL

Created 4 years ago by Scott_Huang, updated 4 years ago by Scott_Huang.

As for complexity SQL query we have two solutions as below, I will discuss #2 in this article.

0 0
3 followers
Viewed: 12 543 times
Version: 2.0
Category: Tips

Email by YiiMailer, Call Outlook, IMAP

Created 5 years ago by Scott_Huang, updated 5 years ago by CeBe.

In Yii community we have lots of extention can send emails, such as YiiMailer and Swift and so on, or even IMAPI, thanks for team contribution. However, sometimes, in the intranet enviroment, the program cannot run successfully since SMTP /IMAP port been banded. So you need to seek other ways. The most simple way is call outlook as COM.

0 0
6 followers
Viewed: 12 590 times
Version: 1.1
Category: How-tos

Load & Save With Relation

Created 4 years ago by moo.tensai, updated 4 years ago by moo.tensai.

Use this extension : yii2-relation-trait

1 0
2 followers
Viewed: 12 616 times
Version: 2.0
Category: Tips

Yiistrap TbHtml::navbarSearchForm

Created 6 years ago by Patrice, updated 5 years ago by CeBe.

Hi all,

0 0
3 followers
Viewed: 12 708 times
Version: 1.1
Category: Tips

Expert's model generation with Gii

Created 5 years ago by le_top, updated 5 years ago by le_top.

Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.

1 0
2 followers
Viewed: 12 774 times
Version: 1.1
Category: Tips

Creating HTML code using Jamboree Panels

Created 7 years ago by bluyell, updated 7 years ago by bluyell.
2 0
2 followers
Viewed: 12 799 times
Version: 1.1
Category: Tutorials

Auto-update denormalized attributes with MongoDb and Yii2

Created 5 years ago by edoardo849, updated 5 years ago by CeBe.

You have different collections in MongoDb with de-normalized attributes. As you may know, due to its not-join nature, MongoDb tends to encourage repetition of the same value in different collections (de-normalization). In this MongoDb is opposed to a more SQL-like approach where you usually reference only the ID of the value with a foreign key.

1 0
3 followers
Viewed: 12 819 times
Version: 2.0
Category: Tips