Wiki articles

Showing 181-200 of 799 items.
4 0
8 followers
Viewed: 8 232 times
Version: Unknown (update)
Category: Tutorials
Tags: assets, heroku

TDD with PHPUnit_Story and Yii

Created 7 years ago by sidewinder, updated 7 years ago by sidewinder.

Having said all of that, I want to add that the purpose of this article is not to convince anyone to write tests or design following TDD patterns. I'm not going to change the world to what I think is good. It's just about showing how to use some tools together with Yii Framework.

7 0
9 followers
Viewed: 19 707 times
Version: 1.1
Category: Tutorials

First Yii App: CTabView

Created 10 years ago by meanpenguin, updated 7 years ago by Yang He.

Once you are completed with the "Creating First Yii Application", the following can be done.

0 2
1 follower
Viewed: 22 858 times
Version: 1.1
Category: Tutorials
Tags:

Q: My yiic tool cannot run model and crud commands. Why?

Created 10 years ago by qiang, updated 10 years ago by mishhh.

Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.

0 0
1 follower
Viewed: 10 983 times
Version: 1.1
Category: Tutorials
Tags:

Advanced CTabView using CClipWidget

Created 10 years ago by krillzip, updated 7 years ago by Yang He.

Here is a way to dynamically extend tabs based on clips.
Probably even more complex things could be done.

2 0
2 followers
Viewed: 14 526 times
Version: 1.1
Category: Tutorials
Tags:

Autocomplete in console command

Created 7 years ago by Stamm, updated 7 years ago by Stamm.

Missed of autocomplete in bash console commands yii make me sad.

3 0
4 followers
Viewed: 11 998 times
Version: 1.1
Category: Tutorials

Customizing the CMenu Widget

Created 6 years ago by mistryb, updated 4 years ago by mistryb.

The CMenu class provides some useful features for generating menus in your web application.

1 0
4 followers
Viewed: 59 233 times
Version: 1.1
Category: Tips

checkBox in CGridview

Created 4 years ago by n-r, updated 4 years ago by n-r.

some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :

1 0
2 followers
Viewed: 24 309 times
Version: 1.1
Category: Others

AutoTimestampBehavior

Created 10 years ago by jonah, updated 7 years ago by Yang He.

This behavior will automatically set timestamp fields to the row creation and modification times.

2 2
3 followers
Viewed: 16 570 times
Version: 1.1
Category: Tutorials
Tags:

Building Page Specific Menus using CMenu

Created 6 years ago by mistryb, updated 4 years ago by mistryb.

The Yii Framework provides a sweet functionality that allows you to easily create page specific menus. What does this mean? This allows you to create one layout or CSS styling for your menu, and when each page is loaded, a new set of menu items is loaded in. This is useful for context specific sidebars within your application.

0 0
3 followers
Viewed: 14 219 times
Version: 1.1
Category: How-tos
Tags: CMenu

How to validate the uniqueness of multiple columns

Created 4 years ago by oligalma, updated 3 years ago by oligalma.

I am going to show you an effective way to validate the uniqueness of multiple columns.

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

Running applications with Docker

Created 4 years ago by schmunk, updated 4 years ago by schmunk.

When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

4 0
8 followers
Viewed: 32 600 times
Version: 2.0
Category: Tutorials

Display Status image on CGridView column

Created 5 years ago by Ankit Modi, updated 5 months ago by samdark.

How to display status image on admin gridview.

0 0
5 followers
Viewed: 16 686 times
Version: 1.1
Category: Tutorials

How to Display tooltp(qtip) on CGridview dynamic

Created 5 years ago by Ankit Modi, updated 5 years ago by softark.

Hi Friends,

0 0
4 followers
Viewed: 11 589 times
Version: Unknown (update)
Category: Tips

how to make a dynamic progress bar to show the percentage or status

Created 5 years ago by hehbhehb, updated 4 years ago by Boaz.

Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

3 0
7 followers
Viewed: 37 008 times
Version: 1.1
Category: How-tos

Rendering a view file in a console application

Created 7 years ago by Tompi, updated 7 years ago by Tompi.

When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files.

2 1
7 followers
Viewed: 15 972 times
Version: 1.1
Category: How-tos

How To Connect With Twitter From Yii

Created 10 years ago by lucifurious, updated 8 years ago by wei.

Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.

4 1
12 followers
Viewed: 28 010 times
Version: 1.1
Category: Tutorials
Tags: twitter

Console Based CAuthManager Helper

Created 4 years ago by bluyell, updated 4 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: 8 005 times
Version: 1.1
Category: How-tos

Add Beautiful Radio/Checkbox Buttons To Grid

Created 5 years ago by waterloomatt, updated 4 years ago by Rohit Suthar.

The basic idea is to render a grid and, for each row, render a set of radio buttons that asynchronously update their respective model.

6 0
16 followers
Viewed: 29 800 times
Version: 1.1
Category: How-tos

YII2 : simple language Switcher Widget

Created 4 years ago by phunsanit, updated 4 years ago by phunsanit.
  1. create file common\components\languageSwitcher.php
1 0
5 followers
Viewed: 20 947 times
Version: 2.0
Category: Tutorials