Wiki articles

Showing 81-100 of 805 items.

Deploy yii on pagoda box

Created 8 years ago by francis ja, updated 8 years ago by francis ja.

pagoda box is very useful tool for a programmer to test their php app online so its very useful one. For deploying code pagodabox use git command

4 0
5 followers
Viewed: 10 176 times
Version: 1.1
Category: Tutorials

Alternative wildcard characters CDbCriteria

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

In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $...

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

using jqbargraph to create beautiful graphs

Created 7 years ago by MAHESH.E.U, updated 7 years ago by MAHESH.E.U.

If you are about to create a graph, the best option i would suggest is the jqbargraph.

5 0
9 followers
Viewed: 10 214 times
Version: 1.1
Category: Tips

How to keep filters simple in CGridView

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

The problem is not new: after setting some filters in a grid (typically in admin view), and gone to another page, returning in the grid's page I would like to find the filters with previous setting mantained.

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

MongoDB's RBAC support class extending BaseManager

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

Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in `common\components and modify your params.php` file like this:

0 0
4 followers
Viewed: 10 321 times
Version: 2.0
Category: How-tos
Tags: mongodb, rbac, yii2

Generate CTreeview from database table and update a model

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

Suppose we want to set a category to product (or an item in general term), Also suppose categories has sub-categories (multi-level)

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

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

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

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

2 1
3 followers
Viewed: 10 422 times
Version: 1.1
Category: How-tos

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

Created 8 years ago by RusAlex, updated 8 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 447 times
Version: 1.1
Category: Tips

using editors of yiibooster - fix issues - configuration

Created 7 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Nur Rochim.

if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

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

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Created 7 years ago by sirin k, updated 3 years ago by Maurizio Domba Cerin.

hello,

 This article is helpful only if you have the following situation:
 A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out  out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem wi...
4 0
6 followers
Viewed: 10 674 times
Version: 1.1
Category: Tips
Tags: facebook, user

Solution for session lose of Facebook iframe application in Internet Explorer .

Created 7 years ago by sirin k, updated 3 years ago by Maurizio Domba Cerin.

Facebook iframe app’s session is losing in Internet Explorer when doing a second redirection inside the facebook iframe app.The main reason is ,by default IE wont allow cookies in its priavacy settings If cookies not available means session is also not available for our Facebook iframe app in IE.

2 0
4 followers
Viewed: 10 771 times
Version: 1.1
Category: Tips

shortcut/usefull access roles methods RBAC

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

These are functions that I used very often, may helps you!

1 0
5 followers
Viewed: 10 803 times
Version: 1.1
Category: Tutorials

Integrating ZF2 into Yii - use case demonstrated

Created 7 years ago by Boaz, updated 6 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 949 times
Version: 2.0
Category: How-tos

Selecting best language based on Browser language and available languages.

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

Your application is international and you have to select the best language for the user. Your user may have selected 'fr_CA' and you have 'fr_FR' or 'fr' available. What do you do? Here is a tip.

2 0
1 follower
Viewed: 10 956 times
Version: 1.1
Category: Tips

Insert data from database to another database table

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

According to below wiki we could migrate database schema to another database

1 0
2 followers
Viewed: 10 992 times
Version: 1.1
Category: Tutorials

Advanced CGridview issues - custom button using php and html

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 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: 11 021 times
Version: 1.1
Category: How-tos

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

Created 9 years ago by Rodrigo Coelho, updated 9 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: 11 060 times
Version: 1.1
Category: Tutorials

Functional tests independing from your urlManager settings

Created 9 years ago by RusAlex, updated 9 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: 11 086 times
Version: 1.1
Category: Tips

Collaborative software with git

Created 8 years ago by sensorario, updated 8 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: 11 094 times
Version: 1.1
Category: Tutorials

Ativando temas no Zii Widgets

Created 9 years ago by Ivan Wilhelm, updated 9 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: 11 100 times
Version: 1.1
Category: Tutorials