Wiki articles

Showing 421-440 of 823 items.

How to use YiiBooster TbFileUpload widget

Created 11 years ago by Antonio Ramirez, updated 11 years ago by Antonio Ramirez.

I normally create a files folder and I allocate it within my www one, that is where I keep my css, js, images files. So, even though you can place it where ever you wish and for the sake of the example, I will use the files folder name.

7 0
19 followers
Viewed: 54 321 times
Version: 1.1
Category: How-tos

An Easy Solution for Dependent dropDownList Using AJAX

Created 11 years ago by mrs, updated 10 years ago by Kostas Apazidis (KonApaz).

Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

7 1
24 followers
Viewed: 102 873 times
Version: 1.1
Category: Tips

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 11 years ago by softark, updated 6 years ago by softark.

Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

22 0
27 followers
Viewed: 77 946 times
Version: 1.1
Category: Tutorials

Multilanguage Lorem Ipsum Text Generator

Created 11 years ago by yasen, updated 11 years ago by yasen.

Taking futher the idea from Piotr Masełkowski - http://www.yiiframework.com/extension/elipsum/ here's how to generate multilanguage Lorem Ipsum text. This example uses English and Bulgarian sample paragraphs. Create a class in /protected/components/LoremIpsum.php. Wall of text incoming wohoo...

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

Use crypt() for password storage

Created 11 years ago by fsb, updated 10 years ago by fsb.

Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

15 0
20 followers
Viewed: 179 401 times
Version: 1.1
Category: Tutorials

How to use YiiBooster Bootstrap Gallery

Created 11 years ago by Antonio Ramirez, updated 11 years ago by Antonio Ramirez.

Since version 1.0.4, Yii developers can make use of the image gallery provided by Sebastian Tshan, a great javascript developer that has created some true gems like the jquery file upload plugin.

3 0
9 followers
Viewed: 35 892 times
Version: 1.1
Category: How-tos

Installing Yii Users and Rights to Newly Created Yii app

Created 11 years ago by Rajith R, updated 10 years ago by Rajith R.

After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

11 1
40 followers
Viewed: 108 962 times
Version: 1.1
Category: Tutorials

Syncing sessions between Yii and KCFinder

Created 12 years ago by Thanasis Fotis, updated 10 years ago by Boaz.

>Info: As KCFinder's documentation mentions, if your application (Yii in our case) session handling is using the PHP environment configuration - meaning no change in session handling at all, then no change is needed also on KCFinder side to be able to use this session and thus have this simple interface between your Yii webapp and KCFinder. If t...

1 0
6 followers
Viewed: 16 985 times
Version: 1.1
Category: How-tos

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

Created 12 years ago by kiran sharma, updated 12 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: 64 598 times
Version: 1.1
Category: How-tos
Tags: SEO, SiteMap, XML

Image resize on the fly

Created 12 years ago by Tpoxa, updated 12 years ago by Tpoxa.
3 0
11 followers
Viewed: 32 752 times
Version: 1.1
Category: How-tos

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Created 12 years ago by Xgamer99, updated 12 years ago by Maurizio Domba Cerin.

I recently had to have a checkbox column in my grid view that supported the 'disabled' attribute. This was easy enough to do by extending the CCheckBoxColumn. However, I also wanted the checkbox to be selected when clicking on the table's row (supported via CGridView's selectableRows option). I discovered I had to tweak yiigridview.js so that it would not select disabled rows when clicking on it o...

1 0
7 followers
Viewed: 21 861 times
Version: 1.1
Category: Tips

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

Created 12 years ago by skworden, updated 11 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: 59 815 times
Version: 1.1
Category: How-tos
2 0
1 follower
Viewed: 19 213 times
Version: 1.1
Category: How-tos
3 0
4 followers
Viewed: 20 896 times
Version: 1.1
Category: How-tos

pass variables or content block from view file to layout file

Created 12 years ago by yiqing95, updated 12 years ago by Maurizio Domba Cerin.

If you use yiic to generate webApplication there will be a layout folder under the protected/views/, and the Controller class under protected/components which will use by default these layouts files.

2 0
6 followers
Viewed: 51 356 times
Version: 1.1
Category: How-tos

Localized version of CFormatter

Created 12 years ago by marcovtwout, updated 10 years ago by marcovtwout.

To replace the application component 'format', which is registered by CApplication by default, you can put this in your application 'components' config:

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

Create custom button button with AJAX function in CGridView

Created 12 years ago by nkd, updated 12 years ago by nkd.

This will call the controller function using AJAX instead of redirecting the user to the url using GET parameters.

5 0
15 followers
Viewed: 68 054 times
Version: 1.1
Category: How-tos

Ember.js with Yii REST backend,demo application

Created 12 years ago by drumaddict, updated 11 years ago by drumaddict.

Clone the git repo - git clone git://github.com/drumaddict/ember-yii.git - or download it To install,follow these steps.

8 0
12 followers
Viewed: 41 332 times
Version: 1.1
Category: Others

Install, update and use Yii with WAMP server

Created 12 years ago by mrs, updated 12 years ago by mrs.

Here I am describing how you can install and update Yii in WAMP sever.

0 0
5 followers
Viewed: 88 954 times
Version: 1.1
Category: How-tos

URL management for Websites with secure and nonsecure pages

Created 12 years ago by qiang, updated 12 years ago by qiang.

In this article, I will describe how to manage URLs for a Website that has both secure and nonsecure content.

19 0
34 followers
Viewed: 59 061 times
Version: 1.1
Category: How-tos
Tags: URL