Wiki

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

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 2 years ago by InterboyHow-tos1 comment – viewed 20,996 times – ( +5 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

A simple go back button widget

Created 3 years ago by CTalaHow-tos7 comments – viewed 20,829 times – ( +8 / -3 ) – version 1.1
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

Using updateAll and deleteAll with scopes

Created about a year ago by le_topHow-tos4 comments – viewed 20,817 times – ( +5 ) – version 1.1
Using CActiveRecord->updateAll() and CActiveRecord->deleteAll() with scopes and criteria requires some tricks that are explained in this article. While findAll() , find() and some other methods use scopes automatically, updateAll() and deleteAll() do not.

Checking for "expired" sessions/logins on the client side

Created 2 years ago by le_topHow-tos0 comments – viewed 20,740 times – ( +6 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

How To : Create Forgot Password in Yii (Sending Email to Reset Password)

Created about a year ago by ruderbytesHow-tos2 comments – viewed 20,708 times – version 1.1
Assalamualaikum wr.wb Hello yii people i'm Muhammad Fahmi Azain this is tutorial about forgot password in yii framework, and i'm sorry if it does not comply with code standards yii. okay let's begin

How-To: Create Token Authenticated Web Services

Created 2 years ago by hemcHow-tos1 comment – viewed 20,422 times – ( +8 ) – version 1.1
This article is about implementing authentication to Yii based web services.

CGridView and AjaxForm Connect

Created 5 years ago by PinkBrainPlanHow-tos2 comments – viewed 20,208 times – ( +1 ) – version 1.1
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView

Activate captcha after unsuccessful login attempts

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos22 comments – viewed 20,166 times – ( +13 / -1 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

How to create a Widget - Recent Comments widget

Created about a year ago by Nisanth thulasiHow-tos3 comments – viewed 20,014 times – ( +8 ) – version all
Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

Cron Jobs in Yii

Created 3 years ago by aarondfrancisHow-tos1 comment – viewed 19,757 times – ( +4 ) – version 1.1
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.