Sorted by viewsX
Displaying 171-180 of 757 result(s).

Installing WAMP - Apache, MySQL, & PHP on Windows 7

Created 5 years ago by YetiTutorials1 comment – viewed 36,799 times – ( +2 / -1 ) – version 1.1
Installing WAMP on XP was pretty easy; W7 is not so trivial. It's not difficult once you know, but it took me best part of a day to figure out and required gleaning various bits of information from around the web; this tutorial brings it all together in one place to (hopefully) make other peoples lives that bit easier. It does assume that you are reasonably happy configuring Apache, PHP, and MySQL and mainly deals with the W7 quirks.

How to use a Widget as an Action Provider

Created 4 years ago by Antonio RamirezHow-tos14 comments – viewed 36,737 times – ( +27 ) – version 1.1
As written on the API docs: An Action Provider Widget is a widget that has declared several actions by using its 'public static function actions()'. After, a Controller can easily import all its declared actions on its 'public function actions()'.
tags: Widgets, CAction

Single sign on across multiple subdomains

Created 4 years ago by ianaréHow-tos10 comments – viewed 36,678 times – ( +32 ) – version 1.1
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

Upload image and content using AJAX and Store it in different table

Created about a year ago by SelvakumarHow-tos1 comment – viewed 36,369 times – ( +2 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 4 years ago by xrxHow-tos17 comments – viewed 36,330 times – ( +24 ) – version 1.1
Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

Update two models with one view

Created 3 years ago by sensorarioTips11 comments – viewed 36,327 times – ( +10 / -2 ) – version 1.1
Suppose to have two models: Users and Emails. You do not want to store email in a Users model. And User can have 0 or many emails. This is the form generated to create a new user (just username).
tags: database, model, view, form

Simplified meta tags

Created 5 years ago by Y!!Tutorials5 comments – viewed 36,042 times – ( +13 ) – version 1.1
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.

Creating a jQueryUI Sortable CGridView

Created 4 years ago by blindMoeHow-tos23 comments – viewed 36,000 times – ( +48 / -1 ) – version 1.1
I have had to do this a couple of times now so I figured I would share it with the community. I am going to keep this short because I really hope that you are familiar with jQueryUI's Sortable class before starting this tutorial.

Actions code reuse with CAction

Created 4 years ago by Antonio RamirezHow-tos13 comments – viewed 35,709 times – ( +36 ) – version 1.1
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created 2 years ago by Rajith RTips20 comments – viewed 35,492 times – ( +11 / -8 ) – version 1.1
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .