Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 131-140 of 322 result(s).

Elementary introduction to using jQuery ajax and the yii framework

Created 2 years ago by dhimesHow-tos4 comments – viewed 28,493 times – ( +6 ) – version 1.1
In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
tags: AJAX

Render a form in a Modal Popup using ajax

Created 7 months ago by thiagoc7How-tos11 comments – viewed 19,155 times – ( +6 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

How to implement an event and attach it in a behavior

Created about a year ago by seb7How-tos0 comments – viewed 11,048 times – ( +6 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

Storing your images in your table's blob field and displaying that stored images.

Created 2 years ago by sirin kHow-tos7 comments – viewed 22,834 times – ( +9 / -1 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Using a CDbDataReader (sql query result) in a zii widget (such as CGridView or CListView)

Created 3 years ago by Revelis Luc BonninHow-tos1 comment – viewed 21,741 times – ( +9 / -1 ) – version 1.1
If in your application you have to proceed to a complex SQL query that is not associated to a model, you will use CDbDataReader like it is described in the Yii documentation. An example could be

How to use Multiple instances of the same model in the same form

Created 2 years ago by kiran sharmaHow-tos21 comments – viewed 32,105 times – ( +21 / -6 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created about a year ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 16,423 times – ( +5 )
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

Insert a multirow header in CGridView

Created about a year ago by PeppeHow-tos2 comments – viewed 9,921 times – ( +5 ) – version 1.1
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.

using editors of yiibooster - fix issues - configuration

Created about a year ago by KonApazHow-tos0 comments – viewed 5,275 times – ( +5 ) – version 1.1
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

how to make a dynamic progress bar to show the percentage or status

Created about a year ago by hehbhehbHow-tos1 comment – viewed 16,222 times – ( +5 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.