Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 161-170 of 316 result(s).

Create/Develop View files with plain HTML (Without using ActiveForm Class)

Created 11 months ago by kalpitHow-tos2 comments – viewed 6,913 times – ( +2 / -2 ) – version 1.1
Today i want to share with you is "How can we write HTML Code in view files? I am writing this article because many times we can not use CActiveForm to design our form...
tags: views, tutorial

Update a part of content using AJAX when select a GridView row

Created 11 months ago by KonApazHow-tos2 comments – viewed 11,385 times – ( +4 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

How to hide `index` action from URL

Created 2 years ago by rootbearHow-tos2 comments – viewed 11,141 times – ( +3 / -2 ) – version 1.1
Here is my experiment inspired by my own question and others from the forum.
tags: index

How to Create Pdf Report / Excel Report By Using Parameters (From - Until)

Created 10 months ago by ruderbytesHow-tos2 comments – viewed 14,140 times – ( +2 / -2 ) – version 1.1
Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.

Using recaptchlib in your projects

Created 4 years ago by Antonio RamirezHow-tos2 comments – viewed 7,796 times – ( +5 ) – version 1.1
It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Created 9 months ago by tophHow-tos2 comments – viewed 13,209 times – ( -1 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

Simple Multiple Environment Setup with Default Yii Installation

Created 9 months ago by turiHow-tos2 comments – viewed 3,955 times – ( +3 ) – version 1.1
After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.

Configuring Yii to run on both Windows and OSX

Created 8 months ago by trondHow-tos2 comments – viewed 2,636 times – ( +2 ) – version 1.1
If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:
tags: config

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 8 months ago by Kartik VHow-tos2 comments – viewed 6,036 times – ( +27 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

Simple example for language translation

Created 7 months ago by RKAHow-tos2 comments – viewed 8,020 times – ( +1 ) – version 1.1
Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
tags: yii, i18n