Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 101-110 of 342 result(s).

Additional form data with XUpload

Created 2 years ago by AsgarothHow-tos7 comments – viewed 31,195 times – ( +9 ) – version 1.1
In this article you'll learn how to send additional form data when uploading files using XUpload widget

PayPal Integration And IPN (Instant Payment Notification)

Created 2 years ago by yasenHow-tos3 comments – viewed 18,931 times – ( +9 ) – version 1.1
Had to implement PayPal payments for a client and would like to share part of my code with you. Because the tutorial will become too long, I'll leave some code to be done by you, e.g. creating models, controllers and db tables for products, orders.

Converting an Artisteer Theme to Yii

Created 4 years ago by bgleeHow-tos3 comments – viewed 22,946 times – ( +9 ) – version 1.1
There are two approaches to converting an Artisteer theme. The first is to simply copy an existing Artisteer – based Yii theme, overlay the CSS and images, then make any necessary tweaks to the layout files. This is undoubtedly the fastest route, but won't teach you as much as doing it from scratch. That's ok. Sometimes getting the job done is the top priority. The second approach is more general and will apply to some extent to other HTML templates that you may want to convert. I'll be covering the first approach in detail, while the second will be more of a general discussion.

Implementing a Flat User Access System

Created 2 years ago by TrejderHow-tos1 comment – viewed 9,031 times – ( +9 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

Activate captcha after unsuccessful login attempts

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

Database driven Cmenu

Created 3 years ago by twisted1919How-tos0 comments – viewed 23,014 times – ( +13 / -1 ) – version 1.1
This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.

Displaying image in a CGridView column.

Created 3 years ago by sirin kHow-tos5 comments – viewed 52,798 times – ( +13 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 6 months ago by robregonmHow-tos2 comments – viewed 3,759 times – ( +8 ) – version 2.0
By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

How to: use github for download yii, create new app, and store our modules or extensions.

Created 3 years ago by sensorarioHow-tos1 comment – viewed 10,624 times – ( +8 ) – version 1.1
Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.
tags: github, git

How-To: Create Token Authenticated Web Services

Created about a year ago by hemcHow-tos1 comment – viewed 16,333 times – ( +8 ) – version 1.1
This article is about implementing authentication to Yii based web services.