Wiki

Sorted by ratingX
Displaying 271-280 of 747 result(s).

Turn Web HTML Into Newsletter

Created 2 years ago by yasenHow-tos1 comment – viewed 8,502 times – ( +8 ) – version 1.1
These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

Send mail using YiiMail extension

Created 2 years ago by RKATutorials8 comments – viewed 46,059 times – ( +8 ) – version 1.1
Let me show a simpe example to send mail using YiiMail extension in 5 steps. It also includes any template view if required along with the content.
tags: YiiMail

Starting with YII 1.1.x in Windows Environment (WAMP)

Created 10 months ago by Rajith RTutorials0 comments – viewed 7,155 times – ( +8 ) – version 1.1
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
tags: newbie, yii, yiic

CGridView. Add custom class to table rows preserving original „odd“ and „even“

Created about a year ago by Maug LeeHow-tos2 comments – viewed 24,838 times – ( +8 ) – version 1.1
Lets say we have such a CGridView widget showing a list of users for administrator. Users have status „active“ or „disabled“. Grid widget puts class „odd“ or „even“ to rows and we want to preserve this. So we want to add a class „disabled“ to rows with disabled users.

How to setup RBAC with a php file

Created 5 years ago by bettorHow-tos17 comments – viewed 56,780 times – ( +26 / -5 ) – version 1.1
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Force a User to Change Their Password (ChangePasswordFilter)

Created 3 years ago by waterloomattTutorials2 comments – viewed 15,389 times – ( +16 / -2 ) – version 1.1
Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.

Setting application parameters dynamically in the back-end

Created 3 years ago by PablovpTutorials6 comments – viewed 31,726 times – ( +12 / -1 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

Updating fields on a form with Ajax and Json

Created 4 years ago by Russell EnglandHow-tos4 comments – viewed 48,910 times – ( +12 / -1 ) – version 1.1
I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 3 years ago by Antonio RamirezTutorials2 comments – viewed 16,777 times – ( +12 / -1 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

Multiple Databases and Multiple Domains

Created 4 years ago by got 2 doodleTutorials2 comments – viewed 33,429 times – ( +15 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database