Wiki articles

Showing 41-60 of 651 items.

What SQL-Statement creates yii?

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

The usual way to find out what Yii has created for an SQL query is to mutilate the SQL in the sourcecode and call the program again so that the SQL statement with errors is displayed. Or you can use the SQL logger, which must be switched on and off each time and logs all SQL statements, which leads to an enormous slowdown in program execution and decelerates your workflow.

0 0
1 follower
Viewed: 12 169 times
Version: 1.1
Category: Tips

Console Based CAuthManager Helper

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

This behavior enable you to command the RBAC via console. This avoids you to install a entire rbac graphic toolkit to set up some rules in the rbac, maybe you are running inside a ssh console.

0 0
1 follower
Viewed: 12 301 times
Version: 1.1
Category: How-tos

Ativando temas no Zii Widgets

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

Functional tests independing from your urlManager settings

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

Reading the doc

Created 13 years ago by zaccaria, updated 13 years ago by Orteko.

Almost all the information you need whilst working with yii is written in the Class Reference.

21 0
3 followers
Viewed: 12 385 times
Version: 1.1
Category: Tips
Tags: doc

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

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

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

2 1
3 followers
Viewed: 12 423 times
Version: 1.1
Category: How-tos

How to provide a fallback or mapping for translation messages?

Created 10 years ago by schmunk, updated 9 years ago by schmunk.

Sometimes you want to use exisiting translations for locales, which do not directly match. An example would be a website targeting Germany (de_de), Austria (de_at) and Switzerland (de_ch, fr_ch, it_ch). Although you may have exisiting translations for German (de), French (fr) and Italian (it), there are problems using it directly.

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

Configuring Yii to run on both Windows and OSX

Created 10 years ago by trond, updated 9 years ago by CeBe.

If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:

1 0
4 followers
Viewed: 12 502 times
Version: 1.1
Category: How-tos
Tags: config

Making a CGridView to keep the selection between page changes

Created 10 years ago by bluyell, updated 9 years ago by CeBe.

You may find this usefull when you discover your CGridView lost the selection after an update or after a page change, nicely i have build a new extension to cover this problem in a very easy way.

2 0
3 followers
Viewed: 12 623 times
Version: 1.1
Category: Tutorials

MailGun Api Wrapper to send emails

Created 9 years ago by VINAY Kr. SHARMA, updated 4 years ago by Maurizio Domba Cerin.

MailGun.php Class

1 0
2 followers
Viewed: 12 641 times
Version: 1.1
Category: How-tos
Tags: email, mailgun

Yii configuration: Dynamic & User dependent

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

It is difficult to perform user dependent theming through a general configuration in 'main.php'. This article proposes a method to do so through a Factory that dynamically generates classes to allow delayed resolution of actual user values. This means that you can refer to values that are stored in the database through the CActiveRecord before Yii is actually loaded. The values will be fetched...

1 0
1 follower
Viewed: 12 663 times
Version: 1.1
Category: How-tos

How to display images in CJuiAutoComplete without extenstions

Created 9 years ago by Asmaa, updated 5 years ago by samdark.

I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

0 0
2 followers
Viewed: 12 754 times
Version: 1.1
Category: Tutorials

Automatically get the SVN Revision Number of your Project

Created 9 years ago by jcagentzero, updated 9 years ago by jcagentzero.

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 12 789 times
Version: all
Category: Tutorials

XSS safe model content

Created 14 years ago by phiras, updated 14 years ago by phiras.

In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

4 0
1 follower
Viewed: 12 790 times
Version: 1.1
Category: Tutorials
Tags:

How to keep filters simple in CGridView

Created 9 years ago by Peppe, updated 9 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: 12 799 times
Version: 1.1
Category: How-tos

yii vim eclimd how it works

Created 13 years ago by RusAlex, updated 12 years ago by RusAlex.

I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.

8 0
8 followers
Viewed: 12 861 times
Version: 1.1
Category: How-tos
Tags: eclimd, vim, vimrc

Gettext and Poedit HOWTO

Created 9 years ago by Maug Lee, updated 9 years ago by Maug Lee.

Example settings when using Gettext for i18n.

0 0
2 followers
Viewed: 12 969 times
Version: 1.1
Category: Tutorials

Using Apostle.io to send formatted, trackable emails from Yii applications

Created 10 years ago by MikeT, updated 4 years ago by Maurizio Domba Cerin.

Apostle provides a nifty facility for sending app-generated, transactional emails from your application including Wordpress-like mail formatting and full tracking (delivery, opening, clicking etc.) of all emails sent. No need to set up email facilities on your app server!

2 1
2 followers
Viewed: 13 030 times
Version: 1.1
Category: How-tos
Tags: email, mail

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

Yii tinymce结合syntaxHighlighter和syntax

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

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

1 0
0 follower
Viewed: 13 134 times
Version: 1.1
Category: Tutorials