Wiki articles

Showing 1-20 of 826 items.

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

Created 11 years ago by Deepak Pradhan Deepak Pradhan, updated 11 years ago by Deepak Pradhan 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: 11 331 times
Version: 2.0
Category: Tips

First Yii App: CTabView

Created 17 years ago by meanpenguin meanpenguin, updated 13 years ago by Yang He Yang He.

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

0 2
1 follower
Viewed: 31 495 times
Version: 1.1
Category: Tutorials
Tags:

Gettext and Poedit HOWTO

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

Example settings when using Gettext for i18n.

0 0
2 followers
Viewed: 15 430 times
Version: 1.1
Category: Tutorials

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

Created 17 years ago by qiang qiang, updated 17 years ago by mishhh 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: 18 564 times
Version: 1.1
Category: Tutorials
Tags:

How to keep filters simple in CGridView

Created 11 years ago by Peppe Peppe, updated 11 years ago by le_top 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: 15 272 times
Version: 1.1
Category: How-tos

Convert JSON data to html table for display on page

Created 3 years ago by shiv shiv, updated a year ago by samdark samdark.

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

0 0
2 followers
Viewed: 106 601 times
Version: all
Category: Tips
Tags: html, JSON

Building Page Specific Menus using CMenu

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

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

Created 11 years ago by Fábio Sales Fábio Sales, updated 11 years ago by Fábio Sales 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: 25 360 times
Version: 1.1
Category: How-tos

Display Status image on CGridView column

Created 12 years ago by Ankit Modi Ankit Modi, updated 7 years ago by samdark samdark.

How to display status image on admin gridview.

0 0
5 followers
Viewed: 24 668 times
Version: 1.1
Category: Tutorials

How to Display tooltp(qtip) on CGridview dynamic

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

Hi Friends,

0 0
4 followers
Viewed: 19 558 times
Version: Unknown (update)
Category: Tips

Using PayPal IPN with Yii2

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

I'm using PayPal's script from

0 0
1 follower
Viewed: 15 823 times
Version: 2.0
Category: Tips

Display image on CGridView column and open a fancy-box

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

1) Add a fancy-box extension on admin page

0 0
2 followers
Viewed: 19 914 times
Version: Unknown (update)
Category: Tutorials

Using Yii Gallery Manager in your Yii 1.x application

Created 11 years ago by Trejder Trejder, updated 11 years ago by Trejder 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: 19 668 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 11 years ago by Gerhard Liebenberg Gerhard Liebenberg, updated 11 years ago by Gerhard Liebenberg 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: 15 502 times
Version: 1.1
Category: How-tos

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

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

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 22 585 times
Version: 1.1
Category: Tutorials

Console Based CAuthManager Helper

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

make chart from custome queries using amcharts widget

Created 12 years ago by Narender Negi Narender Negi, updated 12 years ago by trond 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: 10 613 times
Version: Unknown (update)
Category: How-tos

Make theme and layout option in your site

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

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

0 0
4 followers
Viewed: 18 705 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 12 years ago by Ankit Modi Ankit Modi, updated 12 years ago by Ankit Modi 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: 44 374 times
Version: Unknown (update)
Category: Tips

Customize your Growl/Alert msg easy and quickly

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

I leverage Kartik's notification widgets.

0 1
2 followers
Viewed: 19 342 times
Version: 2.0
Category: Tips