Wiki articles

Showing 1-20 of 823 items.

Analyse the server's USER-AGENT against browsecap file to determine it's capability.

Created 10 years ago by Deepak Pradhan, updated 10 years ago by Deepak Pradhan.

Does your application need to know user's details on browser details, os and device type? We can use PHP's misc. function to achieve that provided you have an update copy of browsercap.ini

0 0
0 follower
Viewed: 10 126 times
Version: 2.0
Category: Tips

First Yii App: CTabView

Created 16 years ago by meanpenguin, updated 13 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: 29 422 times
Version: 1.1
Category: Tutorials
Tags:

Gettext and Poedit HOWTO

Created 10 years ago by Maug Lee, updated 10 years ago by Maug Lee.

Example settings when using Gettext for i18n.

0 0
2 followers
Viewed: 13 997 times
Version: 1.1
Category: Tutorials

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

Created 16 years ago by qiang, updated 16 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: 16 366 times
Version: 1.1
Category: Tutorials
Tags:

How to keep filters simple in CGridView

Created 10 years ago by Peppe, updated 10 years ago by le_top.

The problem is not new: after setting some filters in a grid (typically in admin view), and gone to another page, returning in the grid's page I would like to find the filters with previous setting mantained.

0 0
2 followers
Viewed: 13 825 times
Version: 1.1
Category: How-tos

Convert JSON data to html table for display on page

Created 2 years ago by shiv, updated 6 months ago by samdark.

I have a calls which help me display json directly in html table.

0 0
2 followers
Viewed: 91 582 times
Version: all
Category: Tips
Tags: html, JSON

Building Page Specific Menus using CMenu

Created 12 years ago by mistryb, updated 10 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: 17 947 times
Version: 1.1
Category: How-tos
Tags: CMenu

How to create a custom exception and show it friendly with CJuiDialog

Created 10 years ago by Fábio Sales, updated 10 years ago by Fábio Sales.

Sometimes we need to create our custom exception and show it to the end user through a friendly way . In this article, I'm showing how to do it using CJuidialog.

0 0
1 follower
Viewed: 23 616 times
Version: 1.1
Category: How-tos

Display Status image on CGridView column

Created 11 years ago by Ankit Modi, updated 6 years ago by samdark.

How to display status image on admin gridview.

0 0
5 followers
Viewed: 22 627 times
Version: 1.1
Category: Tutorials

How to Display tooltp(qtip) on CGridview dynamic

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

Hi Friends,

0 0
4 followers
Viewed: 17 330 times
Version: Unknown (update)
Category: Tips

Using PayPal IPN with Yii2

Created 10 years ago by darioo, updated 10 years ago by darioo.

I'm using PayPal's script from

0 0
1 follower
Viewed: 14 220 times
Version: 2.0
Category: Tips

Display image on CGridView column and open a fancy-box

Created 11 years ago by Ankit Modi, updated 11 years ago by Ankit Modi.

1) Add a fancy-box extension on admin page

0 0
2 followers
Viewed: 18 640 times
Version: Unknown (update)
Category: Tutorials

Using Yii Gallery Manager in your Yii 1.x application

Created 10 years ago by Trejder, updated 10 years ago by Trejder.

Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article...

0 0
1 follower
Viewed: 16 743 times
Version: 1.1
Category: How-tos

Multiple CGridView virtual attributes, retrieved from a single model function. Also communication between CGridView columns and rows; and between CGridView and its own parent view.

Created 10 years ago by Gerhard Liebenberg, updated 10 years ago by Gerhard Liebenberg.

We probably have all used a virtual attribute (model function) to retrieve complex or related data for a CGridView column:

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

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 11 years ago by Ankit Modi, updated 10 years ago by Rohit Suthar.

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 20 525 times
Version: 1.1
Category: Tutorials

Console Based CAuthManager Helper

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

make chart from custome queries using amcharts widget

Created 11 years ago by Narender Negi, updated 11 years ago by trond.

Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget http://www.yiiframework.com/extension/eamchartwidget/

0 0
3 followers
Viewed: 9 422 times
Version: Unknown (update)
Category: How-tos

Make theme and layout option in your site

Created 11 years ago by Narender Negi, updated 11 years ago by trond.

Here i am writing code how to add option of theme change and layout change in your website.

0 0
4 followers
Viewed: 17 150 times
Version: Unknown (update)
Category: How-tos
Tags: layouts, theme

How to call a default layout for every module and how to work <php echo $content; ?>

Created 11 years ago by Ankit Modi, updated 11 years ago by Ankit Modi.

Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work

0 0
1 follower
Viewed: 42 498 times
Version: Unknown (update)
Category: Tips

Customize your Growl/Alert msg easy and quickly

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

I leverage Kartik's notification widgets.

0 1
2 followers
Viewed: 17 315 times
Version: 2.0
Category: Tips