Wiki articles

Showing 161-180 of 650 items.

two or more different collected data in one CGridView

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

Assume that you have teachers and students model.

2 1
6 followers
Viewed: 13 816 times
Version: 1.1
Category: How-tos

Customize CGridView columns directly in your view

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

You usually take a model instance passed into your view to provide data to a CGridView in this way:

2 1
5 followers
Viewed: 36 424 times
Version: 1.1
Category: Tips

Mais segurança em suas aplicações com Yii e PHPIDS

Created 8 years ago by Rafael Garcia, updated 8 years ago by Rafael Garcia.

PHPIDS é conhecido projeto que pode ser visto em php-ids.org.

2 1
3 followers
Viewed: 9 981 times
Version: 1.1
Category: How-tos

A simple go back button widget

Created 6 years ago by CTala, updated 6 years ago by bennouna.

We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

2 1
6 followers
Viewed: 29 553 times
Version: 1.1
Category: How-tos

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

Created 6 years ago by kiran sharma, updated 6 years ago by kiran sharma.

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.

2 1
9 followers
Viewed: 20 266 times
Version: 1.1
Category: How-tos
Tags: SEO, SiteMap, XML

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

Created 8 years ago by Rodrigo Coelho, updated 8 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: 10 176 times
Version: 1.1
Category: Tutorials

Using setFlash for displaying various kind of messages

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

In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.

4 4
6 followers
Viewed: 74 126 times
Version: 1.1
Category: How-tos

Ajax form submiting in Yii

Created 6 years ago by sirin k, updated 2 years ago by Maurizio Domba Cerin.

hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

4 3
23 followers
Viewed: 149 736 times
Version: 1.1
Category: Tutorials

Yii Security-extended guide

Created 7 years ago by bingjie2680, updated 7 years ago by bingjie2680.

This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in you...

6 6
12 followers
Viewed: 24 053 times
Version: 1.1
Category: Tips

Ativando temas no Zii Widgets

Created 8 years ago by Ivan Wilhelm, updated 8 years ago by Ivan Wilhelm.

Um aspecto do design da interface de usuário tem a ver com a coerência do design e da utilização das cores entre os diferentes componentes da interface do usuário utilizada.

4 2
4 followers
Viewed: 10 662 times
Version: 1.1
Category: Tutorials

How to setup FCKeditor

Created 10 years ago by krillzip, updated 7 years ago by Dark-Sun.

Next to do is to download the Yii FCKeditor extension, created by Ascomae. Extract the downloaded file, and place the fckeditor/ widget folder in your web applications protected/extensions/ directory.

3 1
5 followers
Viewed: 22 798 times
Version: 1.1
Category: Tutorials
Tags:

A very easy way to setup yiic on WAMP server (without extra windows settings)

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

Assuming that you have already install the wampserver on your windows.

3 1
4 followers
Viewed: 45 232 times
Version: 1.1
Category: Tutorials

How to access a component of a module from within the module itself

Created 10 years ago by OriginalCopy, updated 6 years ago by Roman Solomatin.

The Yii documentation states:

3 1
7 followers
Viewed: 49 109 times
Version: 1.1
Category: Tutorials
Tags: module

Adding login form to each page

Created 9 years ago by pestaa, updated 7 years ago by Yang He.

After adding proper form to the main layout, like:

3 1
7 followers
Viewed: 41 279 times
Version: 1.1
Category: Tutorials

Caching strategy

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

Note: Before reading this wiki you should have read the caching part in the Yii guide

3 1
12 followers
Viewed: 9 086 times
Version: 1.1
Category: How-tos

How to hide `index` action from URL

Created 7 years ago by rootbear, updated 7 years ago by rootbear.

Here is my experiment inspired by my own question and others from the forum.

3 1
10 followers
Viewed: 19 795 times
Version: 1.1
Category: How-tos
Tags: index

ChromePHP for Yii

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

ChromePHP is a console logging extension for Google Chrome.

3 1
4 followers
Viewed: 14 903 times
Version: 1.1
Category: Tips

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

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

I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.

3 1
6 followers
Viewed: 23 414 times
Version: 1.1
Category: How-tos

Twitter Bootstrap style Breadcrumbs

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

will generate twitter bootstrap styled breadcrumb code:

3 1
4 followers
Viewed: 23 827 times
Version: 1.1
Category: How-tos