Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 221-230 of 355 result(s).

Alternative folder structure for a standard Yii app

Created 4 years ago by TrejderHow-tos4 comments – viewed 15,620 times – ( +5 / -1 ) – version 1.1
I found a standard Yii app's protected folder structure nearly perfect. With a few simple moves and a little bit change to the code, I managed to bring it to the level, which I found as fully perfect. I want to share my point of view, in case someone would like to use this structure as well.

How to create a wrapper for a js library

Created 6 years ago by zaccariaHow-tos2 comments – viewed 15,389 times – ( +16 / -2 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Load data from internal/external source to fill form fields

Created 2 years ago by skwordenHow-tos4 comments – viewed 15,338 times – ( +1 / -1 ) – version 2.0
This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

How to get & store Last Login DateTime in database?

Created 3 years ago by Rohit SutharHow-tos2 comments – viewed 15,269 times – ( +7 / -1 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

Moving the vendor directory for multiple projects

Created 3 years ago by mariosimaremareHow-tos2 comments – viewed 15,166 times – ( +5 / -2 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created 3 years ago by edoardo849How-tos2 comments – viewed 15,142 times – ( +6 / -1 ) – version 2.0
You are working with MongoDb and you have embedded documents in your collection that you want to easily map in your Model for CRUD operations.

CGridView Date Range Without Cookies or Session (External Filtering)

Created 4 years ago by ezekielnoobHow-tos6 comments – viewed 15,084 times – ( +5 / -1 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

More security in your applications with Yii and PHPIDS

Created 7 years ago by Rafael GarciaHow-tos1 comment – viewed 14,975 times – ( +8 / -1 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

Bootstrap Yii cGridView add popup button

Created 3 years ago by Arockia Johnson SRHow-tos6 comments – viewed 14,831 times – ( +4 / -1 ) – version 1.1
Hi,

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,584 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