Wiki articles in category How-tos

Showing 241-260 of 373 items.

simple CSV export

Created 12 years ago by bluyell, updated 11 years ago by bluyell.
2 0
13 followers
Viewed: 51 931 times
Version: 1.1
Category: How-tos
Tags: csv, excel, export

Serial Numbers (item counts) in GridView

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

Sometime we need to display numbers of items per page with their counting as a serial number.

0 0
4 followers
Viewed: 18 486 times
Version: 1.1
Category: How-tos

A simple go back button widget

Created 12 years ago by CTala, updated 12 years ago by bennouna.

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

2 1
6 followers
Viewed: 37 605 times
Version: 1.1
Category: How-tos

Using phpseclib with Yii

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

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

0 0
6 followers
Viewed: 19 741 times
Version: 1.1
Category: How-tos
Tags: security

Additional form data with XUpload

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

In this article you'll learn how to send additional form data when uploading files using XUpload widget

7 0
13 followers
Viewed: 47 228 times
Version: 1.1
Category: How-tos

Javascript and AJAX with Yii

Created 12 years ago by François Gannaz, updated 11 years ago by François Gannaz.

This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".

23 0
30 followers
Viewed: 182 033 times
Version: 1.1
Category: How-tos

Elementary introduction to using jQuery ajax and the yii framework

Created 12 years ago by dhimes, updated 12 years ago by François Gannaz.

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.

2 0
15 followers
Viewed: 54 170 times
Version: 1.1
Category: How-tos
Tags: AJAX

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

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

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.

6 0
6 followers
Viewed: 70 420 times
Version: 1.1
Category: How-tos

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

Created 12 years ago by Boaz, updated 7 years ago by mrun.

Consider the following use case:

5 1
6 followers
Viewed: 26 026 times
Version: 1.1
Category: How-tos

Creating and updating model and its related models in one form, inc. image

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

We start slowly and simple...

6 1
21 followers
Viewed: 178 223 times
Version: 1.1
Category: How-tos

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

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

This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). It was done on Mac OS X 10.6.

7 0
10 followers
Viewed: 51 762 times
Version: 1.1
Category: How-tos

Integrating Wordpress and Yii,Working Out The Details.

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

First things first,follow the instructions in fr0d0z's article to set up WordPress.Regarding the WpController,I did not use an index view.So the code for WpController is

class WpController extends Controller
{
    public function init()
    {
	 // note that we disable the layout
        $this->layout = false;
        parent::init();
    }

7 0
13 followers
Viewed: 34 288 times
Version: 1.1
Category: How-tos
Tags: wordpress

YouTube API v2.0 – Browser-based Uploading

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

Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

2 0
7 followers
Viewed: 24 619 times
Version: 1.1
Category: How-tos

Entire Messages into javascript object

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

I needed all messages with their translation into javascript. This is my solution:

1 0
3 followers
Viewed: 10 928 times
Version: 1.1
Category: How-tos

How to use Multiple instances of the same model in the same form

Created 12 years ago by kiran sharma, updated 12 years ago by Maurizio Domba Cerin.

When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update...

Extending CJuiDialog

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

Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:

1 2
2 followers
Viewed: 18 815 times
Version: 1.1
Category: How-tos

How to render a view in Fancybox using ajax

Created 12 years ago by rix.rix., updated 12 years ago by 张 迪.

Sometimes you want to render a view in Fancybox.

4 0
14 followers
Viewed: 31 585 times
Version: 1.1
Category: How-tos

How to create front and admin side login form

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

In this WIKI you can learn how to create front and admin login form, using database.

4 0
15 followers
Viewed: 100 928 times
Version: 1.1
Category: How-tos

Alternative wildcard characters CDbCriteria

Created 12 years ago by maigret, updated 12 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: 11 806 times
Version: 1.1
Category: How-tos

Publish yii webapp using Git push

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

I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;

2 0
8 followers
Viewed: 19 775 times
Version: 1.1
Category: How-tos
Tags: git