Wiki

Sorted by date (updated)X
Displaying 451-460 of 741 result(s).

Setting static modules' properties in config

Updated 2 years ago by Alexander PalamarchukTips0 comments – viewed 6,031 times – ( +2 / -2 ) – version 1.1
You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.
tags: config, module

Hyphenation of routes in URL management

Updated 2 years ago by qiangHow-tos6 comments – viewed 16,481 times – ( +18 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL

Serial Numbers (item counts) in GridView

Updated 2 years ago by Maurizio Domba CerinHow-tos3 comments – viewed 7,443 times – ( +1 ) – version 1.1
Sometime we need to display numbers of items per page with their counting as a serial number.

A simple go back button widget

Updated 2 years ago by bennounaHow-tos7 comments – viewed 16,895 times – ( +8 / -3 ) – version 1.1
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 ).

[pt-br] O guia de estudos do Yii para iniciantes

Updated 2 years ago by Rodrigo CoelhoTips0 comments – viewed 6,460 times – ( +1 ) – version 1.1
You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.

Using phpseclib with Yii

Updated 2 years ago by nkdHow-tos8 comments – viewed 7,136 times – ( +2 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security

Elementary introduction to using jQuery ajax and the yii framework

Updated 2 years ago by Fran├žois GannazHow-tos4 comments – viewed 29,971 times – ( +7 ) – version 1.1
In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
tags: AJAX

YiiBackboneBoilerplate - Project Setup for your Yii+BackboneJS applications

Updated 2 years ago by Antonio RamirezOthers5 comments – viewed 19,628 times – ( +14 ) – version 1.1
YiiBackboneBoilerplate
tags: directory, config

How to hide index.php on Microsoft Windows Server with IIS7

Updated 2 years ago by GiulianoHow-tos2 comments – viewed 13,188 times – ( +9 ) – version 1.1
I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

How to "masquerade" a non-required form element as 'required' one (in the view only)

Updated 2 years ago by BoazHow-tos2 comments – viewed 9,745 times – ( +7 / -1 ) – version 1.1
In a nutshell, the task at hand is to mark (or render) a model attribute in the typical "_form.php" view file with the 'required' red asterisk while this attribute is not marked as required in the model's rule() method. If you're interested only in the solution, jump ahead to the 'solution' section below.