Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 21-30 of 350 result(s).

How to register scripts and css

Updated 7 months ago by oligalmaHow-tos0 comments – viewed 11,607 times – version 1.1
First of all, we need to download the jQuery library and store it in the js folder. In this example we are using the version 2.1.3.

How to validate the uniqueness of multiple columns

Updated 8 months ago by oligalmaHow-tos1 comment – viewed 3,062 times – ( +1 ) – version 1.1
I am going to show you an effective way to validate the uniqueness of multiple columns.

Simple revealing and hiding the password in the password field

Updated 8 months ago by BizleyHow-tos2 comments – viewed 4,183 times – ( +2 ) – version 2.0
There are numerous usability problems:

Configuring different sessions for backend and frontend in Yii advanced app

Updated 8 months ago by Kartik VHow-tos2 comments – viewed 19,030 times – ( +46 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

Behaviour for Time Zone and Format conversion for Date, Time, timestamp, and datetime

Updated 8 months ago by SmitheshHow-tos1 comment – viewed 6,736 times – ( +3 ) – version 1.1
This Behaviour helps to view time/date/timestamp/datetime from db to local Date / Time / Date Time format and in local Timezone. And save into db in with db timezone and db format. You only need to include this behaviour in models where need this facility.

Create a custom menu using CMenu data-items (flat or tree structure)

Updated 9 months ago by weaverkHow-tos0 comments – viewed 15,607 times – ( +4 ) – version 1.1
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

PHP built-in server integration

Updated 9 months ago by HeadshakerHow-tos1 comment – viewed 8,284 times – version 2.0
I was playing around with another PHP framework which I didn't really liked anyway but it had simple and nice integration for PHP built in web server so I decided to write one for Yii (since this is my primary PHP framework)

Before Query Example : Soft Delete

Updated 12 months ago by moo.tensaiHow-tos2 comments – viewed 7,180 times – ( +1 ) – version 2.0
This is how i do before query on Yii 2.0

Load data from internal/external source to fill form fields

Updated about a year ago by skwordenHow-tos3 comments – viewed 8,590 times – ( +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.

Date Picker by examples

Updated about a year ago by Alfa AdhityaHow-tos6 comments – viewed 82,150 times – ( +10 / -2 ) – version 1.1
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.