Wiki articles

Showing 1-20 of 650 items.

How to display Dependent drop-down value using ajax call with dynamically

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

Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

0 1
6 followers
Viewed: 39 987 times
Version: 1.1
Category: Tutorials

How to create the custom Drop-down using CHtml::dropDownList

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

Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

0 0
3 followers
Viewed: 21 499 times
Version: 1.1
Category: How-tos

How to create a Widget - Recent Comments widget

Created 5 years ago by Nisanth thulasi, updated 5 months ago by samdark.

Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

5 0
6 followers
Viewed: 31 765 times
Version: 1.1
Category: How-tos

CRUD operation in Yii framework

Created 5 years ago by Mohammad Fareed, updated 5 months ago by samdark.

Simple Yii Script for performing CRUD operations:

0 4
6 followers
Viewed: 21 941 times
Version: 1.1
Category: Tutorials

Clean JavaScript code in your views

Created 5 years ago by nineinchnick, updated 5 months ago by samdark.

This tutorial presents a way of separating JS code from views and passing to it values from PHP.

18 0
24 followers
Viewed: 34 756 times
Version: 1.1
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 695 times
Version: 1.1
Category: Tutorials

Remove Byte Order Mark (BOM) from files recursively

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 months ago by samdark.

The problem was that all my web applications ran normally on localhost, but on server the Greek characters (or any other no-english characters) displayed with problems.

2 1
7 followers
Viewed: 23 947 times
Version: all
Category: How-tos

How to show Image view after upload and delete view image using eajaxupload extension

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

Hi Friends, In this tutorial you can use the eajaxupload-extension ,

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

Multiple files uploader with CMultiFileUpload

Created 5 years ago by Interboy, updated 5 months ago by samdark.

Today I will show you how to handle multiple file upload step by step.

4 0
8 followers
Viewed: 272 885 times
Version: 1.1
Category: How-tos

How to display images in CJuiAutoComplete without extenstions

Created 4 years ago by Asmaa, updated 5 months ago by samdark.

I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

0 0
2 followers
Viewed: 8 140 times
Version: 1.1
Category: Tutorials

CSS Naming Conventions

Created 8 years ago by qiang, updated 5 months ago by samdark.

In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

35 0
24 followers
Viewed: 35 624 times
Version: 1.1
Category: Tutorials

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 6 years ago by softark, updated 9 months ago by softark.

Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

22 0
27 followers
Viewed: 57 362 times
Version: 1.1
Category: Tutorials

Guidelines for good schema design

Created 7 years ago by Steve Friedl, updated 11 months ago by softark.

Virtually all Yii applications are built on top of a database, and though Yii is very flexible in how it addresses your DB, some design choices make things more convenient than others.

122 0
70 followers
Viewed: 98 001 times
Version: 1.1
Category: Tips

An alternative way to ElasticSearch

Created a year ago by Necip, updated 11 months ago by Necip.

This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.

1 0
2 followers
Viewed: 7 115 times
Version: all
Category: How-tos

What SQL-Statement creates yii?

Created 11 months ago by Necip, updated 11 months ago by Necip.

The usual way to find out what Yii has created for an SQL query is to mutilate the SQL in the sourcecode and call the program again so that the SQL statement with errors is displayed. Or you can use the SQL logger, which must be switched on and off each time and logs all SQL statements, which leads to an enormous slowdown in program execution and decelerates your workflow.

0 0
1 follower
Viewed: 5 933 times
Version: 1.1
Category: Tips

Organize directories for applications with front-end and back-end

Created 10 years ago by qiang, updated a year ago by CeBe.

Large applications are often divided into front-end and back-end (or even more ends) depending on the target user groups. The front-end should be used by common users, while the back-end mainly the administrators or staff members. The two ends usually have dramatically different appearance, even though they may share a lot of code underneath. In this tutorial, we describe a way of organizing direc...

25 0
34 followers
Viewed: 83 894 times
Version: 1.1
Category: Tutorials
Tags:

How to learn Yii?!

Created 7 years ago by yJeroen, updated a year ago by CeBe.

Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

17 0
21 followers
Viewed: 97 834 times
Version: all
Category: Tutorials

Adding Yii Search to Your Browser Search Box

Created 8 years ago by qiang, updated a year ago by CeBe.

The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in yiiframework.com. For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.

25 0
6 followers
Viewed: 50 081 times
Version: all
Category: Tips

Configuring PhpStorm IDE for Yii 1.1

Created 8 years ago by samdark, updated a year ago by samdark.
  • Complete code: Ctrl+Space.
  • Show method arguments: Ctrl+Q.
59 1
53 followers
Viewed: 133 788 times
Version: 1.1
Category: Tips
Tags: IDE, PhpStorm

How to have truly multilingual URLs

Created 3 years ago by oligalma, updated a year ago by Maurizio Domba Cerin.

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

0 0
3 followers
Viewed: 9 762 times
Version: 1.1
Category: How-tos