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

Bootstrap Yii cGridView add popup button

Created about a year ago by Arockia JohnsonHow-tos6 comments – viewed 8,414 times – ( +4 ) – version 1.1

XSS safe model content

Created 5 years ago by phirasTutorials2 comments – viewed 8,399 times – ( +4 ) – version 1.1
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

Automatic Parameter Binding to POST vars in Yii2

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

yii vim eclimd how it works

Created 4 years ago by RusAlexHow-tos1 comment – viewed 8,321 times – ( +10 ) – version 1.1
I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.
tags: vim, eclimd, vimrc

Functional tests independing from your urlManager settings

Created 4 years ago by RusAlexTips1 comment – viewed 8,294 times – version 1.1
If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

How to display data from two tables in TbGridView using DataProvider?

Created about a year ago by Rohit SutharTutorials4 comments – viewed 8,291 times – ( +6 / -1 ) – version 1.1
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

Prevent asset publishing for CListView

Created 4 years ago by MikeHow-tos2 comments – viewed 8,281 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

WordPress Role Based Authentication in Yii

Created about a year ago by Bob GTutorials0 comments – viewed 8,268 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.

CRUD operation in Yii framework

Created about a year ago by Mohammad FareedTutorials4 comments – viewed 8,266 times – ( +1 / -6 ) – version all
Simple Yii Script for performing CRUD operations:

Use CGridview to sort and filter CSqlDataProvider - when used with UNRELATED tables (or complex queries)

Created 11 months ago by Gerhard LiebenbergHow-tos6 comments – viewed 8,235 times – version 1.1
I have two tables called hospitals and departments. I have a junction table between them which holds the departments in each hospital. But sometimes I need a list of "All hospitals with All possible departments" - regardless of whether they are linked in the junction table or not.