Wiki

Sorted by commentsX
Displaying 361-370 of 688 result(s).

two or more different collected data in one CGridView

Created 9 months ago by KonApazHow-tos2 comments – viewed 4,963 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Multiple Databases and Multiple Domains

Created 4 years ago by got 2 doodleTutorials2 comments – viewed 29,961 times – ( +14 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

Access log output from unit tests

Created 2 years ago by MikeTips2 comments – viewed 5,103 times – ( +4 ) – version 1.1
Say, you want to write a test for a component which provides a caching feature. How would you know, that some method of your component returns a cached result? With the solution described here you can inspect all log outputs. So you could search the logs for accesses to the DB to really make sure, that the result was served from cache.

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

Created 9 months ago by kalpitHow-tos2 comments – viewed 6,183 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 9 months ago by KonApazHow-tos2 comments – viewed 9,997 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 10,806 times – ( +3 / -2 ) – version 1.1
Here is my experiment inspired by my own question and others from the forum.
tags: index

Ajax update

Created 3 years ago by zaccariaTips2 comments – viewed 41,329 times – ( +21 / -2 ) – version 1.1
Often happens to have the need of change a part of the page with ajax.
tags: AJAX

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

Created 8 months ago by ruderbytesHow-tos2 comments – viewed 12,610 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 3 years ago by Antonio RamirezHow-tos2 comments – viewed 7,514 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.

Working with radiobutton list

Created 2 years ago by vibhaJadwaniTutorials2 comments – viewed 31,453 times – ( +9 ) – version 1.1
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.