Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 111-120 of 350 result(s).

How to use YiiBooster Bootstrap Gallery

Created 3 years ago by Antonio RamirezHow-tos4 comments – viewed 25,903 times – ( +4 ) – version 1.1
Since version 1.0.4, Yii developers can make use of the image gallery provided by Sebastian Tshan, a great javascript developer that has created some true gems like the jquery file upload plugin.

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

Created 4 years ago by Revelis Luc BonninHow-tos2 comments – viewed 25,753 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

CGridView keep state of page and sort.

Created 4 years ago by DanielHow-tos5 comments – viewed 25,580 times – ( +6 ) – version 1.1
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.

Include Yii framework in a Joomla module

Created 5 years ago by zaccariaHow-tos8 comments – viewed 25,523 times – ( +8 / -2 ) – version 1.1
Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.

Yii User and Rights Implementation

Created 2 years ago by Rajith RHow-tos12 comments – viewed 24,784 times – ( +7 / -7 ) – version 1.1
implementing some features of yii user and rights.

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

Created 2 years ago by hehbhehbHow-tos1 comment – viewed 24,355 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.

Database driven Cmenu

Created 4 years ago by twisted1919How-tos0 comments – viewed 24,343 times – ( +13 / -1 ) – version 1.1
This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.

Using loginRequiredAjaxResponse to solve ajax session timeout

Created 4 years ago by RutgerHow-tos3 comments – viewed 24,315 times – ( +13 ) – version 1.1
This solution requires Yii 1.1.9 or above

Converting an Artisteer Theme to Yii

Created 4 years ago by bgleeHow-tos3 comments – viewed 24,306 times – ( +9 ) – version 1.1
There are two approaches to converting an Artisteer theme. The first is to simply copy an existing Artisteer – based Yii theme, overlay the CSS and images, then make any necessary tweaks to the layout files. This is undoubtedly the fastest route, but won't teach you as much as doing it from scratch. That's ok. Sometimes getting the job done is the top priority. The second approach is more general and will apply to some extent to other HTML templates that you may want to convert. I'll be covering the first approach in detail, while the second will be more of a general discussion.

Run an Yii Application inside an Wordpress page

Created 5 years ago by Paul ApostolHow-tos3 comments – viewed 24,207 times – ( +12 ) – version 1.1
Install a Wordpress site (mine is in "http://localhost/test/wordpress")