Wiki articles

Showing 201-220 of 822 items.

Create Bootstrap5 based Image carousel with thumbnails

Created 4 months ago by pravi, updated 4 months ago by pravi.

Use the following css styles for carousel to work as expected.

0 0
1 follower
Viewed: 23 997 times
Version: 2.0
Category: Tutorials

Display Status image on CGridView column

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

How to display status image on admin gridview.

0 0
5 followers
Viewed: 21 181 times
Version: 1.1
Category: Tutorials

How to Display tooltp(qtip) on CGridview dynamic

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

Hi Friends,

0 0
4 followers
Viewed: 15 752 times
Version: Unknown (update)
Category: Tips

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 692 times
Version: 1.1
Category: How-tos
Tags: email, mailgun

Rendering a view file in a console application

Created 12 years ago by Tompi, updated 12 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: 19 846 times
Version: 1.1
Category: How-tos

How to register scripts and css

Created 9 years ago by oligalma, updated 8 years ago by oligalma.

Then, we write this in the config > main.php:

2 0
3 followers
Viewed: 93 699 times
Version: 1.1
Category: How-tos

How To Connect With Twitter From Yii

Created 14 years ago by lucifurious, updated 13 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: 33 132 times
Version: 1.1
Category: Tutorials
Tags: twitter

Console Based CAuthManager Helper

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

Add Beautiful Radio/Checkbox Buttons To Grid

Created 10 years ago by waterloomatt, updated 9 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: 37 060 times
Version: 1.1
Category: How-tos

YII2 : simple language Switcher Widget

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

How to extend yiic shell commands

Created 14 years ago by qiang, updated 13 years ago by wei.

While yiic shell tool is very convenient at generating skeleton code in our application, the generated code is not always what we want. For example, we may want the generated code to carry specific copyright information; we may want to use our own coding style; we may want to add more features; and so on. All these can be accomplished easily in Yii.

2 0
5 followers
Viewed: 33 161 times
Version: 1.1
Category: Tutorials
Tags: yiic

Single PHP entry point with Nginx

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

In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.

4 0
3 followers
Viewed: 17 584 times
Version: all
Category: How-tos

How to use default layout for error pages instead of errorXXX views

Created 14 years ago by idle sign, updated 11 years ago by Yang He.

The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

4 0
3 followers
Viewed: 43 046 times
Version: 1.1
Category: Tutorials
Tags:

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

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

To generate excel by query content, and download through any controller. You also can bind cssClass to header/odd/even rows. As for header, you even can set cssClass for each column.

$this->export2excel($excel_content,$excel_file);

in your controller.

2 0
2 followers
Viewed: 25 524 times
Version: 2.0
Category: Tutorials

Beginner / Intro Tutorials (please add to / update this list)

Created 14 years ago by Ivo Roper, updated 11 years ago by Gerhard Liebenberg.

This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

4 0
8 followers
Viewed: 48 965 times
Version: 1.1
Category: Tutorials
Tags:

Simple Ajax popup

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

Simple Ajax popup view with Ajax link

5 0
9 followers
Viewed: 51 272 times
Version: 1.1
Category: Tutorials

How to have truly multilingual URLs

Created 8 years ago by oligalma, updated 2 years ago by oligalma.

We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

0 0
3 followers
Viewed: 16 895 times
Version: 1.1
Category: How-tos

Simple Google Maps object for use with ajax maps

Created 8 years ago by Chris Backhouse, updated 8 years ago by Chris Backhouse.

The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.

0 0
3 followers
Viewed: 16 471 times
Version: 2.0
Category: How-tos

Using Yii with PHP 5.4 built-in webserver instead of Apache

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

Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

21 0
5 followers
Viewed: 20 330 times
Version: 1.1
Category: How-tos

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 10 years ago by Interboy, updated 9 years ago by xJose.

Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

3 0
7 followers
Viewed: 34 783 times
Version: 1.1
Category: How-tos