Wiki articles

Showing 101-120 of 799 items.

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: 10 026 times
Version: 1.1
Category: How-tos

Events registration examples

Created 5 months ago by minitia, updated 5 months ago by minitia.

Register an event handler at Object-Level

1 0
2 followers
Viewed: 10 031 times
Version: 2.0
Category: How-tos
Tags: events, yii2

how to use github (un)official extension repo in your Yii project

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

I'm developing a web project for a company using Yii framework. We are using a git vcs in our development process. We like to use Yii extensions. But only if they are good.

4 0
8 followers
Viewed: 10 075 times
Version: 1.1
Category: Tips

Advanced CGridview issues - custom button using php and html

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

This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button)

1 0
2 followers
Viewed: 10 089 times
Version: 1.1
Category: How-tos

Yii behind a reverse proxy, SSL support and correct IP logging

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

If you are hosting Yii behind a reverse proxy, for example nginx, and you are having issues with your logs showing the proxies IP, or the urls being created arn't being created for SSL because your SSL certs are located on your reverse proxy instead of the Yii server, this code may be able to help you. I placed them in the very top of Yii's entry script, index.php

0 0
2 followers
Viewed: 10 183 times
Version: 1.1
Category: Tips

Customize your Growl/Alert msg easy and quickly

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

I leverage Kartik's notification widgets.

0 1
2 followers
Viewed: 10 195 times
Version: 2.0
Category: Tips

Integrating ZF2 into Yii - use case demonstrated

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

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

4 0
6 followers
Viewed: 10 203 times
Version: 2.0
Category: How-tos

Collaborative software with git

Created 7 years ago by sensorario, updated 7 years ago by Maurizio Domba Cerin.

The most difficult thing in a big project, is to manage conflicts with files modified by others users. Git can do this work for us.

9 0
9 followers
Viewed: 10 235 times
Version: 1.1
Category: Tutorials

[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 244 times
Version: 1.1
Category: Tutorials

Using Yii Gallery Manager in your Yii 1.x application

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

Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article...

0 0
1 follower
Viewed: 10 256 times
Version: 1.1
Category: How-tos

Multiple CGridView virtual attributes, retrieved from a single model function. Also communication between CGridView columns and rows; and between CGridView and its own parent view.

Created 4 years ago by Gerhard Liebenberg, updated 4 years ago by Gerhard Liebenberg.

We probably have all used a virtual attribute (model function) to retrieve complex or related data for a CGridView column:

0 0
4 followers
Viewed: 10 375 times
Version: 1.1
Category: How-tos

Access log output from unit tests

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

Say, you want to write a test for a component which provides a caching feature. How would you know, that some method of your component returns a cached result? With the solution described here you can inspect all log outputs. So you could search the logs for accesses to the DB to really make sure, that the result was served from cache.

3 0
2 followers
Viewed: 10 482 times
Version: 1.1
Category: Tips

Make an ajax request to another server using JSONP

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

There are cases that you want to make an ajax request to another server and get the results.

1 0
2 followers
Viewed: 10 575 times
Version: 1.1
Category: Tips

Saving CGridView filter

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

In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

1 0
31 followers
Viewed: 10 591 times
Version: 1.1
Category: Tutorials

Functional tests independing from your urlManager settings

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

If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

0 0
4 followers
Viewed: 10 695 times
Version: 1.1
Category: Tips

How to use EzComponents in Yii

Created 8 years ago by Ehsanjs, updated 7 years ago by samdark.

change your index.php

4 0
6 followers
Viewed: 10 708 times
Version: 1.1
Category: How-tos

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 714 times
Version: 1.1
Category: Tutorials

Yii tinymce结合syntaxHighlighter和syntax

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

首先我们需要下载好Yii tinymce扩展,放入你的extensions目录下,

1 0
0 follower
Viewed: 10 717 times
Version: 1.1
Category: Tutorials

How to validate the uniqueness of multiple columns

Created 4 years ago by oligalma, updated 3 years ago by oligalma.

I am going to show you an effective way to validate the uniqueness of multiple columns.

1 0
2 followers
Viewed: 10 728 times
Version: 1.1
Category: How-tos

Simple Multiple Environment Setup with Default Yii Installation

Created 5 years ago by Ibrar Turi, updated 5 years ago by CeBe.

After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.

2 0
8 followers
Viewed: 10 761 times
Version: 1.1
Category: How-tos