Wiki

Sorted by viewsX
Displaying 531-540 of 753 result(s).

Prevent asset publishing for CListView

Created 4 years ago by MikeHow-tos2 comments – viewed 8,207 times – ( +2 ) – version 1.1
If you don't want to use any of the AJAX features of CListView and thus want to prevent that it publishes any of its asset files, you can extend it and create a sub class like this:
tags: CListView, Assets

default csrf security and ajax post in one controller

Created about a year ago by jasonbanTutorials3 comments – viewed 8,169 times – ( +1 / -3 ) – version 1.1
Hello Yii friends

Automatic Parameter Binding to POST vars in Yii2

Created about a year ago by aarondfrancisHow-tos2 comments – viewed 8,160 times – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

Use phing to make Yii application "installable"

Created 3 years ago by sensorarioHow-tos3 comments – viewed 8,134 times – ( +7 ) – version 1.1
To use this "how-to", you need to install phing in your machine.
tags: phing

Ativando temas no Zii Widgets

Created 4 years ago by Ivan WilhelmTutorials3 comments – viewed 8,131 times – ( +4 / -2 ) – version 1.1
Um aspecto do design da interface de usuário tem a ver com a coerência do design e da utilização das cores entre os diferentes componentes da interface do usuário utilizada.

WordPress Role Based Authentication in Yii

Created about a year ago by Bob GTutorials0 comments – viewed 8,096 times – ( +4 / -1 ) – version 1.1
This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.

Handling recursive deletion in Yii

Created 2 years ago by JamesBarnsleyHow-tos3 comments – viewed 8,080 times – ( +3 ) – version 1.1
As a lead developer at Mutable Labs I was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

Serial Numbers (item counts) in GridView

Created 2 years ago by PeRoChAkHow-tos3 comments – viewed 8,076 times – ( +1 ) – version 1.1
Sometime we need to display numbers of items per page with their counting as a serial number.

How to use EzComponents in Yii

Created 4 years ago by EhsanjsHow-tos0 comments – viewed 8,076 times – ( +5 ) – version 1.1
change your index.php

Q: My yiic tool cannot run model and crud commands. Why?

Created 6 years ago by qiangTutorials1 comment – viewed 8,055 times – version 1.1
Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.