Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 111-120 of 355 result(s).

How to create a Widget - Recent Comments widget

Created 3 years ago by Nisanth thulasiHow-tos3 comments – viewed 26,150 times – ( +9 / -1 ) – 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.

Implementing a Flat User Access System

Created 4 years ago by TrejderHow-tos1 comment – viewed 11,703 times – ( +9 / -1 ) – 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.

Local time zones and locales

Created 6 years ago by Russell EnglandHow-tos9 comments – viewed 73,144 times – ( +14 / -3 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

How to use Multiple instances of the same model in the same form

Created 5 years ago by kiran sharmaHow-tos21 comments – viewed 62,474 times – ( +22 / -7 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

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

Created 2 years ago by robregonmHow-tos2 comments – viewed 15,095 times – ( +11 / -2 ) – 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.

Model password confirmation field.

Created 5 years ago by twisted1919How-tos10 comments – viewed 73,647 times – ( +11 / -2 ) – version 1.1
I had some troubles with the password confirmation field for when adding updating user records, so i thought that i should share the way i got it working.

Activate captcha after unsuccessful login attempts

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

Use kartik Growl with Yii2 flash messages

Created 2 years ago by skwordenHow-tos3 comments – viewed 28,865 times – ( +8 / -1 ) – version 2.0
This is to show you how to use Yii2 flash messages with Kartik Growl (bootstrap notify wrapper).

Multiple files uploader with CMultiFileUpload

Created 4 years ago by InterboyHow-tos2 comments – viewed 267,041 times – ( +8 / -1 ) – version all
Today I will show you how to handle multiple file upload step by step.

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

Created 5 years ago by sensorarioHow-tos1 comment – viewed 14,244 times – ( +8 / -1 ) – 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