Wiki articles

Showing 1-20 of 822 items.

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

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

First Yii App: CTabView

Created 15 years ago by meanpenguin, updated 11 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: 27 498 times
Version: 1.1
Category: Tutorials
Tags:

Gettext and Poedit HOWTO

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

Example settings when using Gettext for i18n.

0 0
2 followers
Viewed: 12 968 times
Version: 1.1
Category: Tutorials

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

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

How to keep filters simple in CGridView

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

Convert JSON data to html table for display on page

Created a year ago by shiv.

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

0 0
1 follower
Viewed: 67 955 times
Version: all
Category: Tips
Tags: html, JSON

Building Page Specific Menus using CMenu

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

Create Bootstrap5 based Image carousel with thumbnails

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

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

0 0
1 follower
Viewed: 19 818 times
Version: 2.0
Category: Tutorials

Integrating Yii3 packages into WordPress

Created 23 days ago by Gabriel A. López López, updated 23 days ago by Gabriel A. López López.

I was recently assigned with the task of integrating several extensive forms into a WordPress website. These forms comprised numerous fields, intricate validation rules, dynamic fields (one to many relationships) and even interdependencies, where employing PHP inheritance could mitigate code duplication.

0 0
1 follower
Viewed: 1 785 times
Version: 3.0
Category: How-tos

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

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

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 125 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 698 times
Version: Unknown (update)
Category: Tips

Using PayPal IPN with Yii2

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

I'm using PayPal's script from

0 0
1 follower
Viewed: 12 970 times
Version: 2.0
Category: Tips

Display image on CGridView column and open a fancy-box

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

1) Add a fancy-box extension on admin page

0 0
2 followers
Viewed: 17 798 times
Version: Unknown (update)
Category: Tutorials

Using Yii Gallery Manager in your Yii 1.x application

Created 9 years ago by Trejder, updated 9 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: 15 302 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 9 years ago by Gerhard Liebenberg, updated 8 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: 13 208 times
Version: 1.1
Category: How-tos

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

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

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 19 039 times
Version: 1.1
Category: Tutorials

Console Based CAuthManager Helper

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

make chart from custome queries using amcharts widget

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

Make theme and layout option in your site

Created 10 years ago by Narender Negi, updated 10 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: 15 939 times
Version: Unknown (update)
Category: How-tos
Tags: layouts, theme