Wiki articles

Showing 141-160 of 822 items.

Twitter Bootstrap style Breadcrumbs

Created 11 years ago by junaidatari, updated 11 years ago by junaidatari.

will generate twitter bootstrap styled breadcrumb code:

3 1
4 followers
Viewed: 53 892 times
Version: 1.1
Category: How-tos

Upload Files to Rackspace Cloud Files CDN

Created 11 years ago by StephenMiracle, updated 11 years ago by StephenMiracle.

** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

2 0
3 followers
Viewed: 17 332 times
Version: 1.1
Category: Tutorials

[PT-BR] Proteção Contra Logout CSRF

Created 12 years ago by Rodrigo Coelho, updated 12 years ago by Rodrigo Coelho.

CSRF é o acrônimo para Cross-site request forgery.
CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.

2 1
3 followers
Viewed: 13 590 times
Version: 1.1
Category: Tutorials

Managing different Bootstrap form layouts with yii2-field-range extension.

Created 9 years ago by Kartik V, updated 9 years ago by Kartik V.

This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

0 0
37 followers
Viewed: 31 526 times
Version: 2.0
Category: How-tos

How to use EzComponents in Yii

Created 12 years ago by Ehsanjs, updated 12 years ago by samdark.

change your index.php

4 0
6 followers
Viewed: 13 269 times
Version: 1.1
Category: How-tos

Patching PHP code (used as a library) without changing the original code!

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

The article Fixing extensions without modifying their code reminded me of another patching technique that I used. My conviction and a hard look on the web had led me to an article [Redefine PHP class methods or class](http://stackoverflow.com/questions/137006/ph...

4 0
5 followers
Viewed: 13 054 times
Version: 1.1
Category: Tips

Where to implement knowledge about the addresses of the controller?

Created 9 years ago by Petr.Grishin, updated 9 years ago by Petr.Grishin.

Knowledge is necessary to determine the address of the controller in a single layer system. This allows you to quickly search and painlessly produce refactoring controllers and their addresses.

1 0
2 followers
Viewed: 12 123 times
Version: 1.1
Category: Tutorials

BaseModuleAR class with MultiActiveRecord

Created 12 years ago by dinhtrung, updated 12 years ago by Gustavo.

MultiActiveRecord is an extension that add support for multiple database connection for your application.

2 0
0 follower
Viewed: 14 682 times
Version: 1.1
Category: Tips

Disallowing login for INACTIVE users in Yii

Created 9 years ago by Rohit Suthar, updated 9 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: 16 221 times
Version: 1.1
Category: Tutorials

Starting with YII 1.1.x in Windows Environment (WAMP)

Created 9 years ago by Rajith R, updated 9 years ago by Rajith R.

As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.

3 0
5 followers
Viewed: 30 984 times
Version: 1.1
Category: Tutorials
Tags: newbie, Yii, yiic

Yii 1.1: How To add id or class to CMenu items ?

Created 9 years ago by Louis Gac, updated 9 years ago by Louis Gac.

CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ?

1 0
1 follower
Viewed: 25 950 times
Version: 1.1
Category: How-tos

How to sum (Update) of all input button price value using jquery

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

Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others. See Image

0 0
2 followers
Viewed: 20 450 times
Version: all
Category: How-tos

How to show Image view after upload and delete view image using eajaxupload extension

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

Hi Friends, In this tutorial you can use the eajaxupload-extension ,

0 1
3 followers
Viewed: 60 387 times
Version: 1.1
Category: How-tos

三步使用cronjobs自动化去执行Yii 控制台任务

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

这篇文章将介绍使用Linux cronjobs去自动化执行Yii Console Application(控制台)任务,像每天晚上执行缓存清理,临时文件清理,发送邮件,网站备份等等,重复的工作都交给服务器后台去完成,Yii本身已经提供了强大的支持,我们所做的工作就很少,当使用yiic webapp 自动生成工程结构时,强大的Yii已经全部帮我们生成好,仅仅只需三步。

0 4
2 followers
Viewed: 27 823 times
Version: 1.1
Category: Tutorials

How to show a Captcha in CForm?

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

In this wiki I will show how could use a Captcha in yii CForm. The easy way to show captcha image is create a form using CHtml method & CActiveForm, but CForm also should be able to show a captcha.

0 0
3 followers
Viewed: 18 520 times
Version: 1.1
Category: How-tos

关于Yii CHttpSession性能优化篇之源码流程分析

Created 12 years ago by Darwin Wen, updated 11 years ago by Maurizio Domba Cerin.

当我们使用Yii数据库去保存Session时,只要简单的配置就可以完成这个功能,在进行性能优化这个主题之前,我们先来查看一下CHttpSession和CDBHttpSession源代码,探讨CHttpSession和CDBHttpSession的流程再进行深一步优化主题。

0 1
2 followers
Viewed: 17 202 times
Version: 1.1
Category: Tips

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

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

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

1 1
1 follower
Viewed: 14 096 times
Version: 1.1
Category: Tips

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

Created 10 years ago by le_top, updated 10 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: 14 770 times
Version: 1.1
Category: Tips

Expert's model generation with Gii

Created 9 years ago by le_top, updated 9 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: 16 898 times
Version: 1.1
Category: Tips